Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Developer
Posts: 30
Registered: ‎06-22-2012
My Device: Blackberry Curve 8520
My Carrier: Movistar

Geolocation current user Location

Hi I am developing an app for the playbook, with html5, JS, and Jquery mobile, and I am using geolocation, I want to use the current user location, to show the places of interest nearby, something like this http://www. arbys.com / mobile / but I'm not very clear how to do this, would appreciate the help, thanks!

Highlighted
Developer
Developer
Posts: 607
Registered: ‎04-29-2011
My Device: PlayBook 16GB, BB10 LE Z10 (red)
My Carrier: none

Re: Geolocation current user Location

A good starting point is here: https://developer.blackberry.com/html5/apis/navigator.geolocation.html

With this you should be able to "get the current" location or to set up your code to "watch" the location changes of the device.


"Like" if you liked the post.
"Accept as Solution" if the post solves your question.