VectorTileLayer(optsopt)

Constructor

# new VectorTileLayer(optsopt)

Parameters:
Name Type Attributes Description
opts Object <optional>
Object of optional params for olLayerVector
Since:
  • 1.4.0

View Source classes/VectorTileLayer.js, line 21

Methods

# fetchValuesForAttribute(attribute) → {Array}

A function that returns the VectorTileLayers values of a specific attribute
Parameters:
Name Type Description
attribute String olFeature property
Since:
  • 1.4.0

View Source classes/VectorTileLayer.js, line 58

VectorTileLayer values of a specific attribute
Array

# getAttributes() → {Array}

A function that returns the VectorTileLayers attributes
Since:
  • 1.4.0

View Source classes/VectorTileLayer.js, line 42

VectorTileLayer attributes
Array

# getDefaultVectorStyles() → {Object}

A function that returns the VectorTileLayers default VectorTileLayer styles
Since:
  • 1.4.0

View Source classes/VectorTileLayer.js, line 104

Geostyler rules object
Object

# getUserVectorStyles() → {Object}

A function that returns the VectorTileLayers custom user styles
Since:
  • 1.4.0

View Source classes/VectorTileLayer.js, line 82

Geostyler rules object
Object

# resetDefaultVectorStyles()

A function that resets default styles of a VectorTileLayer back to its original default
Since:
  • 1.4.0

View Source classes/VectorTileLayer.js, line 125

# setDefaultVectorStyles()

A function that sets default styles of a VectorTileLayer
Since:
  • 1.4.0

View Source classes/VectorTileLayer.js, line 91

# setUserVectorStyles(styles)

A function that sets custom styles from ManageLayer
Parameters:
Name Type Description
styles Object Geostyler OpenLayers Parser rules object https://github.com/geostyler/geostyler-openlayers-parser
Since:
  • 1.4.0

View Source classes/VectorTileLayer.js, line 70

# updateDefaultVectorStyles(styles)

A function that updates default styles of a VectorTileLayer
Parameters:
Name Type Description
styles Object Geostyler OpenLayers Parser rules object https://github.com/geostyler/geostyler-openlayers-parser
Since:
  • 1.4.0

View Source classes/VectorTileLayer.js, line 114