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 zoomLevelnumber | 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 extentol.Extent Map bounds.
resolutionnumber Map resolution.
projectionstring Map projection.
-
setLoadedTile(tileId)
-
Checks whether the zoom is like the map
Name Type Description tileIdObject Id de la tile ZXY