setMarkerOfStaticPoint method

Future<void> setMarkerOfStaticPoint({
  1. required String id,
  2. required MarkerIcon markerIcon,
})

setMarkerOfStaticPoint

change Marker of specific static points we need to global key to recuperate widget from tree element id : (String) id of the static group geopoint

markerIcon : (MarkerIcon) new marker that will set to the static group geopoint

Implementation

Future<void> setMarkerOfStaticPoint({
  required String id,
  required MarkerIcon markerIcon,
}) =>
    osmBaseController.setIconStaticPositions(
      id,
      markerIcon,
      refresh: true,
    );