MapMarker3D constructor

MapMarker3D(
  1. GeoCoordinates at,
  2. MapMarker3DModel model
)

Creates an instance of a 3D marker.

The origin of the 3D model's local coordinate system is placed at the specified geographical coordinates.

Altitude component of the coordinates, if set, controls 3D marker's elevation above ground. If not set, the 3D marker is placed at ground level.

  • at The geographical coordinates where the 3D marker is placed corresponding to origin of the 3D model's local coordinate system.

  • model The 3D model used to draw 3D marker.

Implementation

factory MapMarker3D(GeoCoordinates at, MapMarker3DModel model) => $prototype.$init(at, model);