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 Developer
mecipe
Posts: 18
Registered: ‎12-09-2009
My Device: Not Specified

Routing of BB Maps only in USA

hi,

i have a problem with routing in Germany.

The Routing Example of bb works fine :

 

StringBuffer stringBuffer = new StringBuffer("<location-document><GetRoute>");

stringBuffer.append("<location lon='-8030000' lat='4326000' label='Kitchener, ON' description='Kitchener, Ontario, Canada' />");

stringBuffer.append("<location lon='-7569792' lat='4542349' label='Ottawa, ON' description='Ottawa, Ontario, Canada' />");

stringBuffer.append("</GetRoute></location-document>");  

 

 

but if i replace the coordinates with my own following happens :

the routing calculation starts, but then it interups with no calculating possible.

here is my code:

 

StringBuffer stringBuffer = new StringBuffer("<location-document><GetRoute>");

stringBuffer.append("<location lon='1156201' lat='4827401' label='1' description='11' />");

stringBuffer.append("<location lon='1157101' lat='4830001' label='2' description='22' />");

stringBuffer.append("</GetRoute></location-document>");   

 

Please use plain text.
New Developer
mecipe
Posts: 18
Registered: ‎12-09-2009
My Device: Not Specified

Re: Routing of BB Maps only in USA

No one can help ?

Thanks

Please use plain text.
New Developer
mecipe
Posts: 18
Registered: ‎12-09-2009
My Device: Not Specified

Re: Routing of BB Maps only in USA

 

Still have no solution why the example works but with replacing with my coordinates it gets interupted after calculating route

Please use plain text.