I am working on app the like Ola cabs. When the user drags map the a view transparent view appears with marker moving and when the user stops dragging the we have to centre
Use delegates of GMSMapView
- (void) mapView:(GMSMapView *)mapView didDragMarker:(GMSMarker *)marker; - (void) mapView:(GMSMapView *)mapView didBeginDraggingMarker:(GMSMarker *)marker; - (void) mapView:(GMSMapView *)mapView didEndDraggingMarker:(GMSMarker *)marker;