placeMarker method

void placeMarker(
  1. GpsCoordinates coordinates
)

Places the marker at coordinates.

Implementation

void placeMarker(GpsCoordinates coordinates) {
  markers.add(coordinates.deepCopy());
  notifyListeners();
}