Skip to main content
🎄 Christmas sale: UP TO 60% OFF ON ALL PLANS
6 18 15 4

MapSVGClass

Global MapSVG class. It contains all other MapSVG classes and some static methods.

Example​

let mapsvg = mapsvg.get(0); // get first map instance
let mapsvg2 = mapsvg.get(1); // get second map instance
let mapsvg3 = mapsvg.getById(123); // get map by ID

let mapsvg = new mapsvg.map("my-container",{
source: "/path/to/map.svg"
});

let marker = new mapsvg.marker({
location: location,
mapsvg: mapsvg
});

if(mapsvg.utils.env.isPhone()){
// do something special for mobile devices
}

Classes​

ClassDescription
Map-
Mapsvg-

Interfaces​

InterfaceDescription
MapsvgFrontendParams-
MapSVGProps-

Type Aliases​

Type AliasDescription
MapsvgRoutes-