title: How to create multiple markers in GoogleMaps with SwiftUI?
body: <p>I need to add multiple markers in my MapView. How to add multiple markers in same mapview using swiftui?</p>
  
  <p>This is my code:</p>
  
  <pre><code>import SwiftUI
  import UIKit
  import GoogleMaps
  
  struct MapView: UIViewRepresentable {
      let coordinate: CLLocationCoordinate2D?
      let marker : GMSMarker = GMSMarker()
  
      func makeUIView(context: Self.Context) -&gt; GMSMapView {
          let camera = GMSCameraPosition.camera(withLatitude: coordinate.latitude, longitude: coordinate.longitude, zoom: 6.0)
          let mapView = GMSMapView.map(withFrame: CGRect.zero, camera: camera)
          return mapView
      }
  
      func updateUIView(_ mapView: GMSMapView, context: Self.Context) {
          marker.position = CLLocationCoordinate2D(latitude: coordinate.latitude, longitude: coordinate.longitude)
          marker.title = "XYZ"
          marker.snippet = "ABCD"
          marker.map = mapView
      }
  
  }
  </code></pre>