Is it possible to add a map that shows the user's current location and tracks the user's location as they move?
Unfortunately that will not be possible as JIM cannot interact with the location services within your phone.
any chance of having this in the future?
Here's a good example with Google Maps: https://mobiforge.com/design-development/html5-mobile-web-a-guide-geolocation-api
Also, be sure you have location services enabled for your mobile browser as if you've ever denied access you'll need to manually re-enable it.
Thank you stphn, I did just that, the map is on an html5 page using gmaps API. When I load it on a Website widget it works fine on the browser. But, when I open the prototype on the mobile app, geolocation doesn't work, and for my purposes I need to test it on the mobile. I think it is some kind of restriction between the JIM app and the geolocation services of the phone.
I haven't tried that specific solution you shared, though.
I've attached a zip file containing a project that works on my device (iPhone 6s/Safari 9.3.5) as well as 2 screenshots from it requesting permission and displaying on my device. You can see it running live via your device here: https://dl.dropboxusercontent.com/u/628429/justinmind/geolocation/index.html#/screens/d12245cc-1680-458d-89dd-4f0d7fb22724
If you're using iOS I'd double check that you're allowing Safari to use your location (Settings>Privacy>Location Services: Safari Websites: While Using)
Thank you, Iit's weird cause I opened the geolocation.vp file and it doesn't show the map, you can check the shared version here... https://www.justinmind.com/usernote/tests/21400625/21400628/21504512/index.html
I've looked at this URL you've just shared on both desktop and mobile Safari (iOS 9.3.5 and 10.0.1) and I'm able to see the map rendering in the mobile browser. Please see the attached photos.
thank you stphn, I got it working on the browser, it's really helpful, but as it is a mobile prototype, I need to test in in the JIM iOS app, not the browser itself cause then I get the search bar and the bottom bar which is awful for a "native" app feel.
I understand. Hopefully the Just in Mind team will add this product feature to a near release.
Comments have been locked on this page!