MapSVGClass
MapSVGClass
Section titled “MapSVGClass”Global MapSVG class. It contains all other MapSVG classes and some static methods.
Example
Section titled “Example”let mapsvg = mapsvg.get(0); // get first map instancelet mapsvg2 = mapsvg.get(1); // get second map instancelet 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
Section titled “Classes”| Class | Description |
|---|---|
| Map | - |
| Mapsvg | - |
Interfaces
Section titled “Interfaces”| Interface | Description |
|---|---|
| MapsvgFrontendParams | - |
| MapSVGProps | - |
Type Aliases
Section titled “Type Aliases”| Type Alias | Description |
|---|---|
| MapsvgRoutes | - |