Skip to main content

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
}

Index

Classes

ClassDescription
Map-
Mapsvg-

Interfaces

InterfaceDescription
MapsvgFrontendParams-
MapSVGProps-

Type Aliases

Type aliasDescription
MapsvgRoutes-