开发者

how to open Map with routes using the user specified latitude and longitude in blackberry

Can u give me code for opening Map using the user specified latitude and longitude in blackberry.开发者_开发技巧I tried with BlackberryMapsDemo im not getting routes displayed so please help me out.


To invoke the maps from code you'll have to use the Invoke API.

Displaying a route can be achieved by using the MapsArguemnts

String doc = "<location-document>...</location-document>";
Invoke.invokeApplication(Invoke.APP_TYPE_MAPS, new MapsArguments(MapsArguments.ARG_LOCATION_DOCUMENT, doc));

Display and clear a route on a map by using a location document

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜