new VectorTile()
- Source:
- layer/VectorTile.js
Extends
Members
-
defaultIgnStyle
-
Default IGN style
- Inherited From:
- Overrides:
- Source:
- layer/VectorTile.js
-
getIgnStyle
-
Get ignStyle for the layer or a feature
- Inherited From:
- Overrides:
- Source:
- layer/VectorTile.js
-
getPopupContent
-
Get popupcontent of the layer
- Inherited From:
- Overrides:
- Source:
- layer/VectorTile.js
-
selectable
-
Check if layer is selectable
- Inherited From:
- Overrides:
- Source:
- layer/VectorTile.js
-
setIgnStyle
-
Set default ignStyle for a layer
- Inherited From:
- Overrides:
- Source:
- layer/VectorTile.js
-
setPopupContent
-
Set popupcontent of the layer
- Inherited From:
- Overrides:
- Source:
- layer/VectorTile.js
Methods
-
applyStyle(glStyle [, source])
-
Apply style
Parameters:
Name Type Argument Description glStyleObject sourcestring <optional>
source key, default use the first source in the style object
- Inherited From:
- Overrides:
- Source:
- layer/MVT.js
-
loadMapboxStyle(options)
-
Load a mapbox style file and apply it to the layer
Parameters:
Name Type Description optionsObject Properties
Name Type Argument Description urlstring styleUrl
sourcestring <optional>
source key, default use the first source in the style object
useTitleboolean <optional>
get the layer name in the glStyle
- Inherited From:
- Overrides:
- Source:
- layer/MVT.js
-
setSource(source)
-
Set source to add layer in features attributes when loaded
Parameters:
Name Type Description source* - Source:
- layer/VectorTile.js