OGC vector tile options.
Protected
disposedThe 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
.
Protected
projectionProtected
tileProtected
tileProtected
tileProtected
tileProtected
tmpProtected
urlsProtected
viewProtected
viewzDirection 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.
Protected
applyProtected
Apply 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.
Protected
disposeGet features whose bounding box intersects the provided extent. Only features for cached tiles for the last rendered zoom level are available in the source. So this method is only suitable for requesting tiles for extents that are currently rendered.
Features are returned in random tile order and as they are included in the tiles. This means they can be clipped, duplicated across tiles, and simplified to the render resolution.
Extent.
Features.
Pixel ratio.
Projection.
Vector image tile.
Tile keys.
Tile coordinate z.
Tile coordinate x.
Tile coordinate y.
Pixel ratio.
Projection.
Tile.
Protected
getReturns 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.
Optional
projection: ProjectionProjection.
Tile coordinate to be passed to the tileUrlFunction or
null if no tile URL should be created for the passed tileCoord
.
Protected
handleProtected
onceProtected
onProtected
setSets 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.
Optional
silent: booleanUpdate without triggering an event.
Protected
un
Classdesc
Layer source for map tiles from an OGC API - Tiles service that provides "vector" type tiles. The service must conform to at least the core (http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/core) and tileset (http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/tileset) conformance classes. For supporting the
collections
option, the service must conform to the collections selection (http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/collections-selection) conformance class.Vector tile sets may come in a variety of formats (e.g. GeoJSON, MVT). The
format
option is used to determine which of the advertised media types is used. If you need to force the use of a particular media type, you can provide themediaType
option.Api