title: Google map marker show outside the road in swift 5
body: <p>I am using google map in swift 5. I have used marker. Sometime marker shows outside the road. Here is the image
  <a href="https://i.stack.imgur.com/Su5ak.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Su5ak.png" alt="enter image description here"></a>
   I have used bellow code for google map </p>
  
  <pre><code>let marker = GMSMarker()
  marker.position = CLLocationCoordinate2DMake(lat, lon)
  marker.title = description
  marker.icon = UIImage(named: "item_car_idle")
  marker.rotation = CLLocationDegrees(heading)
  marker.map =  self.googleMap
  marker.infoWindowAnchor = self.getInfoWindowAnchorFor(Double(heading))
  var bounds = GMSCoordinateBounds()
  bounds = bounds.includingCoordinate(marker.position)
  self.googleMap.animate(with: GMSCameraUpdate.fit(bounds, withPadding:50.0))
  self.googleMap.selectedMarker = marker
  </code></pre>
  
  <p>how to fix my marker on road not outside. Please help me </p>