Class: VectorTileStyles

ol.supermap.VectorTileStyles

The style of the vector tiles.

new ol.supermap.VectorTileStyles(options)

D:/iClient9_English0919/src/openlayers/overlay/vectortile/VectorTileStyles.js, line 8
Name Type Description
options Object

The optional parameters.

Extends

  • ol.Observable

Methods

ol.supermap.VectorTileStyles.getCartoCss()

D:/iClient9_English0919/src/openlayers/overlay/vectortile/VectorTileStyles.js, line 229

Get style of the cartoCss.

ol.supermap.VectorTileStyles.getCartoShaders()

D:/iClient9_English0919/src/openlayers/overlay/vectortile/VectorTileStyles.js, line 195

Get the shadow of the client Carto.

ol.supermap.VectorTileStyles.getClientCartoShaders()

D:/iClient9_English0919/src/openlayers/overlay/vectortile/VectorTileStyles.js, line 212

Get the shadow of the client Carto.

ol.supermap.VectorTileStyles.getDonotNeedServerCartoCss()

D:/iClient9_English0919/src/openlayers/overlay/vectortile/VectorTileStyles.js, line 246

Get whether need CartoCss services.

ol.supermap.VectorTileStyles.getLayerInfo(layerName)

D:/iClient9_English0919/src/openlayers/overlay/vectortile/VectorTileStyles.js, line 395

Get layer information.

Name Type Description
layerName string

Name of the layer.

ol.supermap.VectorTileStyles.getLayerName()

D:/iClient9_English0919/src/openlayers/overlay/vectortile/VectorTileStyles.js, line 331

Get name of the layer.

ol.supermap.VectorTileStyles.getLayersInfo()

D:/iClient9_English0919/src/openlayers/overlay/vectortile/VectorTileStyles.js, line 263

Get layer information service.

ol.supermap.VectorTileStyles.getSelectedId()

D:/iClient9_English0919/src/openlayers/overlay/vectortile/VectorTileStyles.js, line 314

Get selected Id.

ol.supermap.VectorTileStyles.getSelectedStyle(type)

D:/iClient9_English0919/src/openlayers/overlay/vectortile/VectorTileStyles.js, line 375

Setting the selected style.

Name Type Description
type string

the selected style

ol.supermap.VectorTileStyles.getStyle(originalLayerName, feature)

D:/iClient9_English0919/src/openlayers/overlay/vectortile/VectorTileStyles.js, line 432

Get style.

Name Type Description
originalLayerName string

Original layer information.

feature Object

Feature object.

ol.supermap.VectorTileStyles.getUrl()

D:/iClient9_English0919/src/openlayers/overlay/vectortile/VectorTileStyles.js, line 280

Get Url.

ol.supermap.VectorTileStyles.getView()

D:/iClient9_English0919/src/openlayers/overlay/vectortile/VectorTileStyles.js, line 297

Get view.

ol.supermap.VectorTileStyles.setCartoShaders(cartoShaders)

D:/iClient9_English0919/src/openlayers/overlay/vectortile/VectorTileStyles.js, line 186

Setting shadow of the Carto.

Name Type Description
cartoShaders Array

Shadow of the Carto.

ol.supermap.VectorTileStyles.setClientCartoShaders(clientCartoShaders)

D:/iClient9_English0919/src/openlayers/overlay/vectortile/VectorTileStyles.js, line 203

Set the shadow of the client Carto.

Name Type Description
clientCartoShaders Array

The shadow of the client Carto.

ol.supermap.VectorTileStyles.setDonotNeedServerCartoCss(donotNeedServerCartoCss)

D:/iClient9_English0919/src/openlayers/overlay/vectortile/VectorTileStyles.js, line 237

Set whether need CartoCss services.

Name Type Description
donotNeedServerCartoCss Object

Whether need CartoCss services.

ol.supermap.VectorTileStyles.setLayerName(layerName)

D:/iClient9_English0919/src/openlayers/overlay/vectortile/VectorTileStyles.js, line 322

Set name of the layer.

Name Type Description
layerName string

Name of the layer.

ol.supermap.VectorTileStyles.setLayersInfo(layersInfo)

D:/iClient9_English0919/src/openlayers/overlay/vectortile/VectorTileStyles.js, line 254

Set layer information service.

Name Type Description
layersInfo Object

layer information

ol.supermap.VectorTileStyles.setSelectedId(selectedId)

D:/iClient9_English0919/src/openlayers/overlay/vectortile/VectorTileStyles.js, line 305

Setting the selection sequence number.

Name Type Description
selectedId number

The selection sequence number.

ol.supermap.VectorTileStyles.setSelectedLineStyle(selectedLineStyle)

D:/iClient9_English0919/src/openlayers/overlay/vectortile/VectorTileStyles.js, line 348

Setting the selected post line style.

Name Type Description
selectedLineStyle Object

The selected post line style.

ol.supermap.VectorTileStyles.setSelectedPointStyle(selectedPointStyle)

D:/iClient9_English0919/src/openlayers/overlay/vectortile/VectorTileStyles.js, line 339

Setting the selected post style.

Name Type Description
selectedPointStyle Object

The selected post style.

ol.supermap.VectorTileStyles.setSelectedRegionStyle(selectedTextStyle)

D:/iClient9_English0919/src/openlayers/overlay/vectortile/VectorTileStyles.js, line 366

Setting the selected text style.

Name Type Description
selectedTextStyle Object

the selected text style.

ol.supermap.VectorTileStyles.setSelectedRegionStyle(selectedRegionStyle)

D:/iClient9_English0919/src/openlayers/overlay/vectortile/VectorTileStyles.js, line 357

Setting the selected post region style.

Name Type Description
selectedRegionStyle Object

The selected post region style.

ol.supermap.VectorTileStyles.setUrl(url)

D:/iClient9_English0919/src/openlayers/overlay/vectortile/VectorTileStyles.js, line 271

Set url.

Name Type Description
url string

url.

ol.supermap.VectorTileStyles.setView(view)

D:/iClient9_English0919/src/openlayers/overlay/vectortile/VectorTileStyles.js, line 288

set view.

Name Type Description
view Object

View.

getFeatureStyle(feature)

D:/iClient9_English0919/src/openlayers/overlay/vectortile/VectorTileStyles.js, line 505

Get style of the feature.

Name Type Description
feature Object

feature.

mergeTextFeatureStyle(layerInfo, feature, url)

D:/iClient9_English0919/src/openlayers/overlay/vectortile/VectorTileStyles.js, line 477

Merge text element style.

Name Type Description
layerInfo string

Layer information.

feature Object

Feature.

url string

The url.