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

New Post: Drawing on the map

$
0
0
Hi!

Do you have a class variable declared for route? (private GMapRoute route;)

Your line " GMapRoute route = new GMapRoute(new List<PointLatLng>(), "Route");" in the form_load event should be probably changed to:
"route = new GMapRoute(new List<PointLatLng>(), "Route");" because otherwise your route exists only in the scope of the load event...

I would need more or the entire code, to pinpoint the problem.

Viewing all articles
Browse latest Browse all 3384

Trending Articles



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