routing with other maps

Topics: General
Apr 2, 2011 at 9:55 AM


How do I get to follow the route with other maps, not Google, because my town is not detailed in google.

Apr 2, 2011 at 9:58 AM

you can try openstreet routing

Apr 2, 2011 at 10:59 AM

I have found the description in the project

public MapRoute GetRouteBetweenPoints(PointLatLng start, PointLatLng end, bool avoidHighways, int Zoom)      

string tooltip;  

int numLevels;        

int zoomFactor;        

MapRoute ret = null;        

List<PointLatLng> points = GetRouteBetweenPointsUrl(MakeRouteUrl(start, end, LanguageStr, avoidHighways), Zoom, UseRouteCache, out tooltip, out numLevels, out zoomFactor);         if(points != null)         {            ret = new MapRoute(points, tooltip);         }    

return ret;    



internal string MakeRouteUrl(PointLatLng start, PointLatLng end, string language, bool avoidHighways)      


    string highway = avoidHighways ? "&mra=ls&dirflg=dh" : "&mra=ls&dirflg=d";
    return string.Format("{0}{1}&q=&saddr=@{2},{3}&daddr=@{4},{5}", language, highway, start.Lat.ToString(CultureInfo.InvariantCulture), start.Lng.ToString(CultureInfo.InvariantCulture), end.Lat.ToString(CultureInfo.InvariantCulture), end.Lng.ToString(CultureInfo.InvariantCulture));    



Please tell me how I can get openstreet routing

Apr 2, 2011 at 11:08 AM

check and

Apr 2, 2011 at 11:17 AM

ok, thanx)

Apr 26, 2011 at 5:35 AM

Excuse me , I'm a newbie here..

I'm using (VS10), I want to route on Bing Map , I went thru Viktorbergman Fork but i cannot really convert  his code to

Any suggestions?

Apr 26, 2011 at 6:57 AM

you can wait until i include that functionality ;} or you can try c#