开发者

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

开发者 https://www.devze.com 2023-01-15 00:41 出处:网络
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

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

精彩评论

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

关注公众号