This class contains all the mapLayers
See theMapLayersCollection for the one and only one instance of this class
Get the defaultMapLayer
Add a MapLayer list to the list of available MapLayers. This method can only be called once
Name | Type | Description |
---|---|---|
jsonLayers | Array of Object | The layer list to add (json object from TravelNotesLayers.json) |
Executes a function on each MapLayer in the collection
Name | Type | Description |
---|---|---|
fct | Function | The function to execute |
Gives a MapLayer object
Name | Type | Description |
---|---|---|
mapLayerName | String | The name of the MapLayer to give |
The mapLayer to use by default
A guard to block a second upload of the mapLayers