Contains functionality for the map rendering
Classes
Namespaces
Members
-
The rendering states of the layer.
Properties:
Name Description PENDINGData loading/processing is still in progress, but there is nothing to render. In this state rendering engine might go to sleep mode after certain amount of time to prevent draining of battery on the user device.
ACTIVEData rendering or animation is in progress.
DONEData rendering or animation is done.
Type Definitions
-
An object containing rendering parameters.
Properties:
Name Type Description boundingBoxH.geo.Rect The rectangular geographical area to render. Note that it is not the same as visible viewport. The bounding box also include
H.Map.Options#marginand optionally an additional margin in case of DOM-node rendering for a better rendering experience.zoomnumber The zoom level to render the data for.
screenCenterH.math.Point The coordinates of the screen center in CSS pixels.
priorityCenterH.math.Point The coordinates relative to the screen center where the rendering has the highest priority. If the layer has to request and/or process data asynchronously, it's recommended to prioritize the rendering close to this center.
projectionH.geo.PixelProjection The pixel projection to use to project geographical coordinates into screen coordinates and vice versa.
cacheOnlyboolean Indicates whether only cached data should be considered.
sizeH.math.Size The size of the area to render.
pixelRationumber The pixelRatio to use for over-sampling in cases of high-resolution displays.
Interface Definitions
-
This interface describes render engine capabilities, such as the minimum and maximum zoom level, camera angles, etc.