Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Argument Description layerId
string Layer id.
label
string <optional>
Layer label. If not specified it uses
layerId
value. This value is visible inmodule:cercaliagl/control/LayerSwitcher~LayerSwitcher
.attribution
string <optional>
Attribution HTML for this layer. This value is visible in
module:cercaliagl/control/Logo~Logo
.url
string | Array.<string> URL or an array of urls templates. Must include
{x}
,{y}
and{z}
.tilesize
number Tile size in pixels. Default
256
.minzoom
number Minimum zoom level. Default
0
.maxzoom
number Maximum zoom level. Default
20
.