location-picker icon indicating copy to clipboard operation
location-picker copied to clipboard

Add a button to get the current location through GPS or Wifi like Google Maps?

Open ali-h2010 opened this issue 7 years ago • 2 comments

Is there a way to display the get current location button like google maps? There is a way to get the current location using Geolocation services but a native solution would be nice.

ali-h2010 avatar Aug 08 '18 13:08 ali-h2010

Any update on this matter?

ali-h2010 avatar Aug 12 '18 05:08 ali-h2010

The plugin uses Google Maps API V3 which does not natively provide that button. You will have to implement your own.

Here's some examples:

https://stackoverflow.com/questions/24952593/how-to-add-my-location-button-in-google-maps

You can submit a pull request if you want to implement it & want it integrated with this library.

cyphercodes avatar Aug 12 '18 16:08 cyphercodes