MapMarker3D.withScale constructor
- GeoCoordinates at,
- MapMarker3DModel model,
- double scale
Creates an instance of a 3D marker with scale factor.
One unit of the 3D marker model will cover MapMarker3D.withScale.scale pixels.
The size of the 3D marker remains constant on the screen.
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.
-
atThe geographical coordinates where the 3D marker is placed corresponding to origin of the 3D model's local coordinate system. -
modelThe 3D model used to render the 3D marker. -
scaleScale factor to apply to the 3D model.
Implementation
factory MapMarker3D.withScale(GeoCoordinates at, MapMarker3DModel model, double scale) => $prototype.withScale(at, model, scale);