removeMarkerByLatlong method

void removeMarkerByLatlong(
  1. LatLng _location
)

Remove marker by latlong

Implementation

void removeMarkerByLatlong(LatLng _location) {
  _markers.removeWhere((_marker) => _marker.position == _location);
  notifyListeners();
}