Blackberry MapView plot coords

后端 未结 2 1414
广开言路
广开言路 2021-01-27 07:52

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/Map

2条回答
  •  青春惊慌失措
    2021-01-27 08:17

    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().

提交回复
热议问题