Maps API for JavaScript Developer's Guide

H.map.ViewModel.ILookAtData

Type Definition Summary

An Interface to describe a look-at data set.

[ For full details, see the Type Definition Details ]

Property Summary

Table 1. Properties
Properties

position

This property represents the look-at position in geographical space.

zoom

This property represents the zoom level.

bounds

This property represents the visible area. In case of P2D engine type H.geo.Rect, in case of WEBGL H.geo.Polygon.

heading

This property represents the rotation angle relative to North. A positive angle increases southward. The range is from 0 to 360 but it can be restricted by the render engine capabilities. 0 - looks from the North; 90 - looks from the East; 180 - looks from the South; 270 - looks from the West.

incline

This property represents the angle between the look-at vector and normal to the surface along x-axis. The range is from -180 to +180, but it can be restricted by the render engine capabilities. 0 - no incline, 90 - left incline, -90 - right incline.

tilt

This property represents the angle between the look-at vector and normal to the surface along z-axis. The range is from 0 to 90, but it can be restricted by the render engine capabilities. 0 - looks down; 90 - looks straight.

Type Definition Description

An Interface to describe a look-at data set.

Property Details

position: {H.geo.IPoint=} [optional]

This property represents the look-at position in geographical space.

zoom: {number=} [optional]

This property represents the zoom level.

bounds: {H.geo.AbstractGeometry=} [optional]

This property represents the visible area. In case of P2D engine type H.geo.Rect, in case of WEBGL H.geo.Polygon.

heading: {number=} [optional]

This property represents the rotation angle relative to North. A positive angle increases southward. The range is from 0 to 360 but it can be restricted by the render engine capabilities. 0 - looks from the North; 90 - looks from the East; 180 - looks from the South; 270 - looks from the West.

incline: {number=} [optional]

This property represents the angle between the look-at vector and normal to the surface along x-axis. The range is from -180 to +180, but it can be restricted by the render engine capabilities. 0 - no incline, 90 - left incline, -90 - right incline.

tilt: {number=} [optional]

This property represents the angle between the look-at vector and normal to the surface along z-axis. The range is from 0 to 90, but it can be restricted by the render engine capabilities. 0 - looks down; 90 - looks straight.