title: How to remove a specific marker from google maps in flutter?
body: <p>I am Vaibhav Pathak. I am working on a Flutter app in which I add markers in-app based on data change in firestore database and I want to remove the previous marker from the map using its marker id but I don't understand how to do it. I had watched many Youtube videos and blogs but I don't get to know this because of API changes in google maps flutter plugin. For your kind information, I want to tell that I am using the latest version of the google_maps flutter plugin.</p>
  
  <p>My Code for Making Markers :</p>
  
  <pre><code>showLiveLocation(LatLng latLng) {
  _markers.add(
    Marker(
      markerId: MarkerId(latLng.toString()),
      position: latLng,
      draggable: false,
      infoWindow: InfoWindow(
          title: "Live Order Location",
          snippet: "Dear customer your order is live at this place."),
      icon: liveLocation,
      visible: true,
    ),
  );
  </code></pre>
  
  <p>}</p>
  
  <p>Thanks for everyone's help.</p>
  
  <p>github : <a href="https://github.com/vkpdeveloper" rel="nofollow noreferrer">github@vkpdeveloper</a></p>