Refresh map after adding a point to a route

Topics: Windows Forms
Dec 20, 2011 at 4:14 AM

Hi,

I tried to add a new point to extend an existing route, but the new route line connecting to the new point does not show up immediately. After I moved the map, then the new line is shown.

Is there a way to refresh the overlay/map to show the route line extension? I tried myMap.Refresh(), but it didn't do it.

Many thanks for the help and the great GMap.NET!

Best regards,

Awi

Dec 20, 2011 at 8:12 AM

myRoute.Points.Add(...

map.UpdateRouteLocalPosition(myRoute);

map.Invalidate();

Dec 20, 2011 at 11:24 PM

Thanks for the help!