Is it possible to add a button in JQM for "Near My Location" to find the nearest local office? If I have 15 locations in Western Canada, can JQM point me to the nearest location using the geo location info from my phone? Not trying to make a big development project, but trying to determine if there are any simple solutions to this geo location feature for a company with multiple locations?
Sure, you can add a button for anything with JQM. Just create a button, and set the text to "Near My Location"...
There's nothing in JQM to help you find your nearest local office, though.
You can use the HTML5 geolocation API on those devices that support it to obtain the latitude/longitude of the user''s location. It's then up to you to implement a web service or web page on your server that you can use to provide the nearest office location, given coordinates.
Leave a comment on watusiware's reply
Change topic type
Link this topic
Provide the permalink of a topic that is related to this topic