Blackberry MapView plot coords

☆樱花仙子☆ 提交于 2019-12-02 07:48:47

You have basically two options:

1) If you want the map to be embedded within your own application, use the MapField to add a map to your screen and then override the paint() method to manually draw your pins on the screen.

2) If you just want to launch the maps app and let it handle everything, then use the MapsArguments to pass info to the app via an Invoke.invokeApplication().

On BlackBerry7 you can do it with MapMarker, without having to override paint(). Also, you can use GoogleMapField, see code here: https://github.com/rhomobile/rhodes/blob/master/platform/bb/rhodes/src/rhomobile/mapview/GoogleMapField.java

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!