This class performs all the readonly updates on the map
Ssee theMapEditor for read/write updates on the map
This method add a note on the map This method is called by the 'noteupdated' event listener of the viewer and indirectly by the MapEditor.updateNote( ) method
Name | Type | Description |
---|---|---|
noteObjId | Number | The objId of the note to add |
This method add a route on the map This method is called by the 'routeupdated' event listener of the viewer and by the MapEditor.updateRoute( ) method
Name | Type | Description |
---|---|---|
routeObjId | Number | The objId of the route to add |
Add a Leaflet object to the map
Name | Type | Description |
---|---|---|
objId | Number | The objId to use |
leafletObject | LeafletObject | The Leaflet object to add |
This method is called when the geolocation position is changed
Name | Type | Description |
---|---|---|
position | GeolocationPosition | A JS GeolocationPosition object |
This method is called when the geolocation status is changed
Name | Type | Description |
---|---|---|
geoLocationStatus | GEOLOCATION_STATUS | The geolocation status |
This method changes the background map. This method is called by the 'layerchange' event listener of the viewer and by the MapEditor.setLayer( ) method
Name | Type | Description |
---|---|---|
layer | MapLayer | The layer to set |
url | String | The url to use for this layer (reminder: url !== layer.url !!! See MapEditor.setLayer) |
This method zoom to a point or an array of points
Name | Type | Description |
---|---|---|
latLng | Array of Number | The point |
geometry | Array of Array of Array of Number | The array of points... |
A reference to the L.tileLayer object that contains the current map
A reference to the L.circleMarker object used for the geolocation
Simple constant for the max possible zoom
Simple constant for the min possible zoom
Simple constant for the z-index css value for notes
Click on the geo location circle event listener
Name | Type | Description |
---|---|---|
clickEvent | Event | The event to handle |