This class represent a background map
The constructor
Name | Type | Description |
---|---|---|
jsonLayer | JsonObject | A json object from TravelNotesLayers.json |
The map attributions. For maps based on OpenStreetMap, it is not necessary to add the attributions of OpenStreetMap because they are always present in Travel & Notes.
The lower left and upper right corner of the mapLayer
The largest possible zoom for this mapLayer
The smallest possible zoom for this mapLayer
When true, an access key is required to get the map.
The name of the service provider. This name will be used to find the access key to the service.
The type of service: wms or wmts
An object with text, color and backgroundColor properties used to create the button in the toolbar
The wmsOptions for this mapLayer See the Leaflet TileLayer.WMS documentation
The lower left and upper right corner of the mapLayer
A temporary variable to store the layer data
The largest possible zoom for this mapLayer
The smallest possible zoom for this mapLayer
When true, an access key is required to get the map.
An object with text, color and backgroundColor properties used to create the button in the toolbar
The wmsOptions for this mapLayer See the Leaflet TileLayer.WMS documentation
Set the lower left and upper right corner of the mapLayer