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: 499
Registered: ‎06-24-2008
My Device: Not Specified

BlackBerry 10 invoking BlackBerry Maps - Accuracy

I'm invoking BlackBerry Maps on a Z10 passing a KML string, but the position/path displayed is inaccurate. It's out by a couple of kilometers.


When I paste the KML into Google Maps I get an accurate position/path (or at least within the accuracy settings).


Is there an issue with BlackBerry Maps or is my data being somehow corrupted en route?


There doesn't seem to be much documentation around BlackBerry Maps - perhaps I'm looking in the wrong places.


My invocation code is:


var path = this.getPath();
type: "application/vnd.google-earth.kml+xml",
data: path},


And the KML is:


<?xml version="1.0" encoding="UTF-8"?><kml xmlns="http://www.opengis.net/kml/2.2"><Document>
<Style> id="blueLine">
<name>Tracker Path</name>

<!-- coordinates go here -->