Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Contributor
soapmctavish
Posts: 9
Registered: ‎07-17-2012
My Device: Blackberry Torch

Invoking Blackberry Maps using KML documents

Hi, I'm trying to show some checkpoints on Map using KML document. Here is my code:

MapsArguments ma = new MapsArguments(MapsArguments.ARG_KML, "https://developers.google.com/kml/documentation/KML_Samples.kml");
Invoke.invokeApplication(Invoke.APP_TYPE_MAPS, ma);

However, as the Map opens from application, the kml elements are not displayed on the Map.

It seems as if the Kml document is not considered at all.

Any idea?

 

Tested on Blackberry 9780