0

I am trying to recreate a "drag the map to set your location"(like Uber and Lyft) feature in my app. my Idea is to adding a marker/pin icon on top of the map interface, setting that pin to the center, and finally use map.getCameraPosition(); to find the lat long of the pin. But the major UX issue I am facing is when I zoom(double tap or pinch zoom) on the map. By default it will zoom and drag the map to the location of my fingers. How to disable that. I have attached my screenshots bellow. Before Zoom

After Zoom

Can anyone please help me with this.

Bedant
  • 326
  • 1
  • 13

0 Answers0