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
New Contributor
paulvs
Posts: 5
Registered: ‎03-25-2013
My Device: Developer
My Carrier: Developer

Blackberry app: Drop marker to get latitude and longitude

I'd like to have a page on my Blackberry app where the user can drop a marker on a map (Google map most likely) and the coordinates (latitude and longitude) of the marker will be retrieved.

I have looked into the Google Static Maps API but this returns an image, with no option for placing markers and getting their coordinates back from Google.

I also looked at getting the coordinates of a point on a static map from the pixel locations look here, but this is very involved and the different screen sizes of Blackberry phones will each need different calculations.

What I want to do seems easily done in the browser using the Google Javascript API and also Google Maps for iOS or Android, but no Web service that returns a clickable map.

EDIT: I am developing the app for Blackberry OS version 4.5, or 5.0 if necessary.

 

Any help is appreciated.

Thank you,

Paul

Please use plain text.