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

Native Development

Reply
Highlighted
Contributor
Posts: 24
Registered: ‎11-05-2012
My Device: BB10
My Carrier: Airtel

how to find nearest location using cascades api?

Hi,

  

    how to find nearest location using cascades Api? could you explain any documentation ?

 

Thanks and regards

 

Developer
Posts: 16,998
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: how to find nearest location using cascades api?

what do you mean with "nearest location"? a special point of interest nearby?
take a look at https://developer.blackberry.com/cascades/reference/qtmobilitysubset__qgeosearchmanager.html and check if these functions would help you.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Contributor
Posts: 27
Registered: ‎07-26-2012
My Device: i dont have a blackberry device
My Carrier: i dont have a blackberry device

Re: how to find nearest location using cascades api?

hey its just my opinion

are you using web service to get the long lat of the place ?

if yes you can find the nearest location on server side and send the data (sorted by nearest) to device Smiley Happy

i did that on blackberry java

best regards,
aditya eka putra (@abang_adit)