new cercalia.tile.ServerVector(options)
Name | Type | Description |
---|---|---|
options |
cercaliax.tile.ServerVectorOptions |
Options. |
Extends
- ol.source.Vector
Methods
-
clear(zoomLevel)
-
Clean the hash indicating which tiles have been downloaded.
Name Type Description zoomLevel
number | undefined optional Zoom level to delete, if not specified deletes all.
-
loadFeatures(extent, resolution, projection)
-
Loads features according to bounds and resolution.
Name Type Description extent
ol.Extent Map bounds.
resolution
number Map resolution.
projection
string Map projection.
-
setLoadedTile(tileId)
-
Checks whether the zoom is like the map
Name Type Description tileId
Object Id de la tile ZXY