Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!
Deniel Kerr
Founder. Opencart
Top Partners
We have seen the Ola or Uber map where the pin is located in middle of Google Map & we can Drag the Map or Zoom also after doing all this , map stop dragging or zooming then
it will show their actual address where the pin located. In iOS we can use Apple Map or Google Map so here I have taken the Example of Google Map.
Please follow this steps.
Take the one UIView in UIViewController & set the leading , trailing , top , bottom constraints to super view , after that take one UIImageView in middle of UIView and set the constraints center Horizontal & center vertical.
Note: it will show the PIN image on your given Latitude & Longitude position.
Now I have to implement the dragging functionality for this you need to write the delegate method to check when the map is at idle position after dragging. here i have used the geocode for getting the address through latitude & longitude.
Note: Now you can get the PIN position Address.
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
Please let us know the issue which you are getting while following the article.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
Name
Email
Subject
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.