OptionaladapterOptionalattributionString to be shown in the attribution control. It describes the layer data and is often a legal obligation towards copyright holders and tile providers.
OptionalbaselayerIndicate on a cartographic base layer.
OptionalcrossParameter added when forming a request for layer data. This is needed if you want to access tile pixel data. Refer to CORS Settings for valid String values.
OptionalfitFit map to layer extent
OptionalheadersOptionalheightOptionalidUnique Layer ID. If not specified, will be added automatically.
OptionallayersOptionalmaxTODO: replace by maxZoom
OptionalmaxMaximum zoom level of the map.
OptionalminTODO: replace by minZoom
OptionalminMinimum zoom level of the map.
OptionalnameNon-unique name of the layer. Can be used for user interfaces.
OptionalnativeMap and layer adapter base options Use with care. There may be a conflict in the addLayer method by the adapter of the NextGIS Frontend library
OptionalonOptionalopacityLayer transparency. From 0-transparent to 1-visible
OptionalorderIndicates the map layers display sequence. A layer with a larger order value overlaps smaller ones. Zero value used to indicate baselayer. If the value is not specified explicitly, it will be assigned automatically with an increase of one for each new layer.
OptionalpropsAny properties to save in layer. May be useful to get additional info from layer event.
OptionalratioOptionalrotateOptionalscaleOptionalsetExperimental option to set the map loading delay when changing position
OptionalsrsExperimental only for Ol yet
OptionalsubdomainsOptionaltypeType for geometries painting, for each layer may be only one of: point, polygon or line.
OptionalvisibilityShow layer on the map immediately after adding. Such layers are always under others. Only one base layer can be displayed on the map at a time.
OptionalwaitWait until the layer data is fully loaded before allowing added to the map.
Optionalwith
Parameters that can be used to create any map layer adapter.