Guidesv3.2 API Referencev3.1 API Reference

Namespace: layer

Namespace: layer

Namespace: layer

H.map.layer

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

Classes

BaseTileLayer
Layer
ObjectLayer
TileLayer

Interface Definitions

H.map.layer.IMarkerLayer

This interface defines a layer which provides marker objects.

H.map.layer.ISpatialLayer

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

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).