Class: ServerVector

ServerVector

A vector source in one of the supported formats, using a custom function to read in the data from a remote server.

new cercalia.tile.ServerVector(options)

Name Type Description
options

Options.

Type Description

Extends

  • ol.source.Vector

Methods

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.

Checks whether the zoom is like the map

Name Type Description
tileId Object

Id de la tile ZXY