Forum Discussion

MikeTamoush's avatar
MikeTamoush
Qrew Commander
3 months ago

Button to open map on mobile?

On mobile, if you have an address field there is an option to push the arrow or locate button, and it will open your mapping software and show you on the map. Does anyone know how to replicate this behavior with a code page and button push? I want my user to quickly be able to get to their maps but not necessarily need a random, dummy address field open in edit mode.



------------------------------
Mike Tamoush
------------------------------

1 Reply

  • Are you trying to have the button open them in maps to their current position? If you have a lat/long you can use this stackoverflow link to configure a url that takes pins them at a specific point, and then with the codepage you can use the navigator.geolcation feature of the browser API to get their current position and open the link



    ------------------------------
    Chayce Duncan
    ------------------------------