M/impl/layer/MVT~MVT


import MVT from 'M/impl/layer/MVT';

Main constructor of the class. Creates a KML layer with parameters specified by the user

new MVT()

impl/ol/layer/MVT.js, line 30

Methods

addTo()

impl/ol/layer/MVT.js, line 93

This method adds the vector tile layer to the ol.Map

equals()

impl/ol/layer/MVT.js, line 256

This function checks if an object is equals to this layer

getFeatures(skipFilter, filter){Array.<M.Feature>}

impl/ol/layer/MVT.js, line 164

This function returns all features or discriminating by the filter

Name Type Description
skipFilter boolean

Indicates whether skyp filter

filter M.Filter

Filter to execute

Returns:
returns all features or discriminating by the filter

setTileLoadFunction()

impl/ol/layer/MVT.js, line 150

This function sets the tileLoadFunction

setVisible()

impl/ol/layer/MVT.js, line 197

This function sets the visibility of this layer