MapMarker.withImageAndText constructor - MapMarker - mapview library - Dart API
MapMarker.withImageAndText
MapMarker.withImageAndText constructor
- GeoCoordinates coordinates,
- MapImage image,
- 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.
-
coordinatesThe marker's geographical coordinates. -
imageThe image to draw on the map. -
textThe text to draw on the map.
Implementation
factory MapMarker.withImageAndText(GeoCoordinates coordinates, MapImage image, String text) => $prototype.withImageAndText(coordinates, image, text);