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

Web and WebWorks Development

Posts: 107
Registered: ‎05-26-2011
My Device: Torch
My Carrier: Mobilink

Open google maps using kml file in blackberry browser



I want to open google maps in BB browser from my app

i am using this url in BB browser



but the link seems to b working fione on firefox or chrome but it is broken on BB browser.


I really need to resolve it as soon as possible,

I have also tried to open bb maps with kml using below code



   var args = new blackberry.invoke.MapsArguments(
         blackberry.invoke.invoke(blackberry.invoke.APP_MAPS, args);

 but it doesnot map kml on map ..

any help will be appreicited...


Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: Open google maps using kml file in blackberry browser

This problem has already been answered:




Looks like you need to first retrieve the KML document (can be done in WebWorks using XmlHttpRequest) and pass the contents of it into the MapsArgument function.


Give that try and let us know if it works)

Follow me on Twitter: @n_adam_stanley
Your app doesn't work? Use BlackBerry remote web inspector to find out why.