new ol.supermap.VectorTileStyles(options)
| Name | Type | Description |
|---|---|---|
options |
Object |
The optional parameters. |
Extends
- ol.Observable
Methods
-
ol.supermap.VectorTileStyles.getCartoCss()
VectorTileStyles.js, line 229 -
Get style of the cartoCss.
-
ol.supermap.VectorTileStyles.getCartoShaders()
VectorTileStyles.js, line 195 -
Get the shadow of the client Carto.
-
ol.supermap.VectorTileStyles.getClientCartoShaders()
VectorTileStyles.js, line 212 -
Get the shadow of the client Carto.
-
ol.supermap.VectorTileStyles.getDonotNeedServerCartoCss()
VectorTileStyles.js, line 246 -
Get whether need CartoCss services.
-
ol.supermap.VectorTileStyles.getLayerInfo(layerName)
VectorTileStyles.js, line 395 -
Get layer information.
Name Type Description layerNamestring Name of the layer.
-
ol.supermap.VectorTileStyles.getLayerName()
VectorTileStyles.js, line 331 -
Get name of the layer.
-
ol.supermap.VectorTileStyles.getLayersInfo()
VectorTileStyles.js, line 263 -
Get layer information service.
-
ol.supermap.VectorTileStyles.getSelectedId()
VectorTileStyles.js, line 314 -
Get selected Id.
-
ol.supermap.VectorTileStyles.getSelectedStyle(type)
VectorTileStyles.js, line 375 -
Setting the selected style.
Name Type Description typestring the selected style
-
ol.supermap.VectorTileStyles.getStyle(originalLayerName, feature)
VectorTileStyles.js, line 432 -
Get style.
Name Type Description originalLayerNamestring Original layer information.
featureObject Feature object.
-
ol.supermap.VectorTileStyles.getUrl()
VectorTileStyles.js, line 280 -
Get Url.
-
ol.supermap.VectorTileStyles.getView()
VectorTileStyles.js, line 297 -
Get view.
-
ol.supermap.VectorTileStyles.setCartoShaders(cartoShaders)
VectorTileStyles.js, line 186 -
Setting shadow of the Carto.
Name Type Description cartoShadersArray Shadow of the Carto.
-
ol.supermap.VectorTileStyles.setClientCartoShaders(clientCartoShaders)
VectorTileStyles.js, line 203 -
Set the shadow of the client Carto.
Name Type Description clientCartoShadersArray The shadow of the client Carto.
-
ol.supermap.VectorTileStyles.setDonotNeedServerCartoCss(donotNeedServerCartoCss)
VectorTileStyles.js, line 237 -
Set whether need CartoCss services.
Name Type Description donotNeedServerCartoCssObject Whether need CartoCss services.
-
ol.supermap.VectorTileStyles.setLayerName(layerName)
VectorTileStyles.js, line 322 -
Set name of the layer.
Name Type Description layerNamestring Name of the layer.
-
ol.supermap.VectorTileStyles.setLayersInfo(layersInfo)
VectorTileStyles.js, line 254 -
Set layer information service.
Name Type Description layersInfoObject layer information
-
ol.supermap.VectorTileStyles.setSelectedId(selectedId)
VectorTileStyles.js, line 305 -
Setting the selection sequence number.
Name Type Description selectedIdnumber The selection sequence number.
-
ol.supermap.VectorTileStyles.setSelectedLineStyle(selectedLineStyle)
VectorTileStyles.js, line 348 -
Setting the selected post line style.
Name Type Description selectedLineStyleObject The selected post line style.
-
ol.supermap.VectorTileStyles.setSelectedPointStyle(selectedPointStyle)
VectorTileStyles.js, line 339 -
Setting the selected post style.
Name Type Description selectedPointStyleObject The selected post style.
-
ol.supermap.VectorTileStyles.setSelectedRegionStyle(selectedTextStyle)
VectorTileStyles.js, line 366 -
Setting the selected text style.
Name Type Description selectedTextStyleObject the selected text style.
-
ol.supermap.VectorTileStyles.setSelectedRegionStyle(selectedRegionStyle)
VectorTileStyles.js, line 357 -
Setting the selected post region style.
Name Type Description selectedRegionStyleObject The selected post region style.
-
ol.supermap.VectorTileStyles.setUrl(url)
VectorTileStyles.js, line 271 -
Set url.
Name Type Description urlstring url.
-
ol.supermap.VectorTileStyles.setView(view)
VectorTileStyles.js, line 288 -
set view.
Name Type Description viewObject View.
-
getFeatureStyle(feature)
VectorTileStyles.js, line 505 -
Get style of the feature.
Name Type Description featureObject feature.
-
mergeTextFeatureStyle(layerInfo, feature, url)
VectorTileStyles.js, line 477 -
Merge text element style.
Name Type Description layerInfostring Layer information.
featureObject Feature.
urlstring The url.