Class: VectorTile

ol.VectorTile

Extends

Methods

getFormat(){ol.format.Feature} experimental

src/ol/vectortile.js, line 113

Get the feature format assigned for reading this tile's features.

Returns:
Feature format.

getTileCoord(){ol.TileCoord} inherited experimental

src/ol/tile.js, line 97

Get the tile coordinate for this tile.

Returns:
The tile coordinate.

setFeatures(features) experimental

src/ol/vectortile.js, line 166
Name Type Description
features Array.<ol.Feature>

Features.

setLoader(loader) experimental

src/ol/vectortile.js, line 196

Set the feature loader for reading this tile's features.

Name Type Description
loader ol.FeatureLoader

Feature loader.

setProjection(projection) experimental

src/ol/vectortile.js, line 177

Set the projection of the features that were added with #setFeatures.

Name Type Description
projection ol.proj.Projection

Feature projection.