Namespace: layer

H.map.layer

This namespace contains interfaces and implementation classes to support functionality related to the map layer.

Classes

BaseTileLayer
CanvasLayer
DomLayer
Layer
MarkerTileLayer
ObjectLayer
TileLayer

Interface Definitions

H.map.layer.IMarkerLayer

This interface defines a layer which provides marker objects to the renderer.

Adding a layer implementing this interface to the layer collection causes the render engine to render marker objects provided by the requestMarkers() function.

H.map.layer.ISpatialLayer

This interface defines a layer which provides spatial objects (i.e. polylines and polygons) to the renderer.

Adding a layer implementing this interface to the layer collection causes the render engine to render spatial objects provided by the requestMarkers function.

H.map.layer.ITileLayer

This interface describes a layer which provides data partitioned in quad-tree tiles in an x, y, z fashion (where z describes the level within the tree and x and y describe the absolute column and row indices within the level).

Adding a layer implementing this interface to the layer collection causes the render engine to retrieve tiles and render the data contained within the tiles (see H.map.provider.Tile).