Quantcast
Channel: GMap.NET - Great Maps for Windows Forms & Presentation
Viewing all articles
Browse latest Browse all 3384

Commented Unassigned: GetRoute returning 'Null' [16123]

$
0
0

Following code:

PointLatLng start1 = new PointLatLng(51.61055, 8.34348);
PointLatLng end1 = new PointLatLng(51.5042742, 5.4458191);
MapRoute route1 = GMap.NET.MapProviders.GoogleMapProvider.Instance.GetRoute(start1, end1, false, false, 15);

will return 'Null' in route1.....

It worked perfectly until a little while ago..

Somebody knows how to solve this?
Comments: Same exact problem for me today :-( I checked also with older versions of GMap.NET and the problem remains. My guess is that Google changed something. Routing still works with Bing maps for instance.

Viewing all articles
Browse latest Browse all 3384

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>