MapMarker constructor

MapMarker(
  1. GeoCoordinates coordinates,
  2. MapImage image
)

Creates an instance of a marker at given coordinates, represented by specified image.

The altitude component of the coordinates is ignored.

  • coordinates The marker's geographical coordinates.

  • image The image to draw on the map.

Implementation

factory MapMarker(GeoCoordinates coordinates, MapImage image) => $prototype.$init(coordinates, image);