10-17-2013 02:06 PM
I need to show the 2 locations in mapview with custom marker and also draw the route between these locations.
I have tried the blackberry map with custom marker using the below sample code,
and i get the route between locations using the below code
String document = "<lbs><GetRoute>" + "<location x='-8052237' y='4346518' label='Waterloo, ON' description='Waterloo, Ontario, Canada' />" + "<location x='-7569792' y='4542349' label='Ottawa, ON' description='Ottawa, Ontario, Canada' />" + "</GetRoute></lbs>"; Invoke.invokeApplication(Invoke.APP_TYPE_MAPS, new MapsArguments( MapsArguments.ARG_LOCATION_DOCUMENT,document));
But here i need to show both of the above in a single map view , is it possible?