03-03-2009 02:44 PM
Eclipse SDK Version: 3.4.1
BlackBerry JDE Plug-in for Eclipse Version: 184.108.40.206
BlackBerry JDE Component Pack Version: 220.127.116.11
I'm creating a location document string to display a point on the map. It works fine but if the user changes the zoom level I would like to be able to keep the chosen zoom level when I add the next point. If I omit the "zoom" element in my string the map will default to a zoom level of 0. How can I add a point so that the current zoom level is used and unchanged? I'm invoking maps from my application as follows where "document" is my location string.
Invoke.invokeApplication(Invoke.APP_TYPE_MAPS, new MapsArguments( MapsArguments.ARG_LOCATION_DOCUMENT, document));
Solved! Go to Solution.
03-06-2009 02:39 PM
There is no way to prevent a user from changing the zoom level after invoking BlackBerry Maps. However, you can control this if you use a MapField, which was introduced in version 4.5.0 of the BlackBerry API set.
You can see an example of this in the mapfielddemo, which is included with the BlackBerry JDE.
03-06-2009 02:45 PM
03-12-2009 09:27 AM
04-16-2009 08:26 AM
I want to display map using GPS coordinates. How to form the document string used in MapsArguments?I am using OS 4.2.1.
Can I get sample code to display map?
Looking forward for help.
04-16-2009 08:30 AM
Did you get a chance to go thru this document.