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
Class | Description |
---|---|
Map | - |
Mapsvg | - |
Interfaces
Interface | Description |
---|---|
MapsvgFrontendParams | - |
MapSVGProps | - |
Type Aliases
Type alias | Description |
---|---|
MapsvgRoutes | - |