A Boolean indicating whether the layer name should be validated when adding to the map.
The default value is true
.
When enabled for raster layers, the layer code will be validated to ensure it is a valid AMP raster layer in order to prevent 404 request errors for invalid layer requests.
Generated using TypeDoc
The map content source type to use. If not provided, the default for the associated layer code will be used.
The following types are supported:
tile
: render the layer using raster tilesvector
: render the layer using vector elements, e.g. markers, polygons and/or polylinesgeojson
: render GeoJSON data using vector elements, e.g. markers, polygons and/or polylinestext
: render the layer using text labels