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

Posts: 10
Registered: ‎11-20-2009
My Device: Not Specified

location documents: is it possible to display a route A to B via C?

I would like to to display a route in BlackBerry Maps from point A to B, not the straight way but via another point C. It seems like only location documents with two points are supported. I tried to use one that has three location tags but the third one was ignored and simply the route from A to B was displayed. Any ideas how to solve this?

Here is my example location document:


"<location-document><GetRoute>" +
                                "<location lon='-8030000' lat='4326000' label='Kitchener, ON' description='Kitchener, Ontario, Canada' />" +
                                "<location lon='-7755352' lat='4464895' label='Test point' description='testpoint01' />" +
                                "<location lon='-7569792' lat='4542349' label='Ottawa, ON' description='Ottawa, Ontario, Canada' />" +