changeLocationMarker method

Future<void> changeLocationMarker({
  1. required GeoPoint oldLocation,
  2. required GeoPoint newLocation,
  3. MarkerIcon? markerIcon,
  4. double? angle = null,
  5. IconAnchor? iconAnchor,
})

Implementation

Future<void> changeLocationMarker({
  required GeoPoint oldLocation,
  required GeoPoint newLocation,
  MarkerIcon? markerIcon,
  double? angle = null,
  IconAnchor? iconAnchor,
}) async {
  await osmBaseController.changeMarker(
    oldLocation: oldLocation,
    newLocation: newLocation,
    newMarkerIcon: markerIcon,
    angle: angle,
    iconAnchor: iconAnchor,
  );
}