黑莓MapView的情节COORDS [英] Blackberry MapView plot coords
问题描述
我不知道是否有可能上的MapView类黑莓的绘制位置/ COORDS。
的http://www.blackberry.com/developers/docs/5.0.0api/net/rim/blackberry/api/maps/MapView.html
I was wondering if it is possible to plot locations/coords on the MapView class of blackberry. http://www.blackberry.com/developers/docs/5.0.0api/net/rim/blackberry/api/maps/MapView.html
在iOS的我做对的MKMapView一个应用程序的滴针(注释),但我找不到黑莓东西simular?
In iOS I made an app the drops pins(annotations) on the MKMapView but I can't find something simular for blackberry?
任何指导,将AP preciated
Any guidance will be appreciated
推荐答案
您基本上有两种选择:
1)如果您希望地图嵌入到自己的应用程序中,使用的 MapField
到地图添加到您的屏幕,然后覆盖漆( )
方法手动绘制在屏幕上你的脚。
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)如果你只是想启动地图应用程序,让它处理一切,然后使用 的MapsArguments
通过的 Invoke.invokeApplication()
。
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()
.
这篇关于黑莓MapView的情节COORDS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!