Vector tile options.
ProtecteddisposedThe object has already been disposed.
This source is currently loading data. Sources that defer loading to the
map's tile queue never set this to true.
ProtectedprojectionProtectedtileProtectedtileProtectedtileProtectedtileProtectedtmpProtectedurlsProtectedviewProtectedviewzDirection hint, read by the renderer. Indicates which resolution should be used by a renderer if the views resolution does not match any resolution of the tile source. If 0, the nearest resolution will be used. If 1, the nearest lower resolution will be used. If -1, the nearest higher resolution will be used.
ProtectedapplyProtectedApply any properties from another object without triggering events.
The source object.
Dispatches an event and calls all listeners listening for events
of this type. The event parameter can either be a string or an
Object with a type property.
Event object.
false if anyone called preventDefault on the
event object or if any of the listeners returned false.
ProtecteddisposePixel ratio.
Projection.
Vector render tile.
Tile keys.
Tile coordinate z.
Tile coordinate x.
Tile coordinate y.
Pixel ratio.
Projection.
Tile.
Returns a tile coordinate wrapped around the x-axis. When the tile coordinate
is outside the resolution and extent range of the tile grid, null will be
returned.
Tile coordinate.
Optionalprojection: ProjectionProjection.
Tile coordinate to be passed to the tileUrlFunction or
null if no tile URL should be created for the passed tileCoord.
ProtectedhandleProtectedonceProtectedonVector render tile.
ProtectedsetSets a collection of key-value pairs. Note that this changes any existing properties and adds new ones (it does not remove any existing properties).
Values.
Optionalsilent: booleanUpdate without triggering an event.
Protectedun
Classdesc
Class for layer sources providing vector data divided into a tile grid, to be used with module:ol/layer/VectorTile~VectorTileLayer. Although this source receives tiles with vector features from the server, it is not meant for feature editing. Features are optimized for rendering, their geometries are clipped at or near tile boundaries and simplified for a view resolution. See module:ol/source/Vector~VectorSource for vector sources that are suitable for feature editing.
Fires
import("./Tile.js").TileSourceEvent
Api