placeMarker method
- BuildContext context,
- AutonomyModel model,
- GpsCoordinates coordinates
Places a marker at the given location and closes the dialog opened by promptForMarker.
Implementation
void placeMarker(BuildContext context, AutonomyModel model, GpsCoordinates coordinates) {
model.placeMarker(model.markerBuilder.value);
model.markerBuilder.clear();
Navigator.of(context).pop();
}