MapMarker.withImageAndText constructor

MapMarker.withImageAndText(
  1. GeoCoordinates coordinates,
  2. MapImage image,
  3. String text
)

Creates a MapMarker instance at given coordinates with specified image and text and a default text style.

The altitude component of the coordinates is ignored.

  • coordinates The marker's geographical coordinates.

  • image The image to draw on the map.

  • text The text to draw on the map.

Implementation

factory MapMarker.withImageAndText(GeoCoordinates coordinates, MapImage image, String text) => $prototype.withImageAndText(coordinates, image, text);