Clearing Route

Jul 1, 2010 at 12:41 PM

Hi Radioman,


I drew a route near New york and i entered the Paris in the Geo Text box the map navigated the location but the drawn route did not disappear.

I want to clear the drawn route when the Route does not fall in to the location area of  latitude and longitude. But should remain in Zoom functionality and appear when i again navigate back with the Geo to the same area.

Help me please.






Jul 1, 2010 at 12:44 PM

you can remove route anytime just like add ;}

Jul 1, 2010 at 1:00 PM

Thanks for your very very very fast reply.

you are correct. I can remove the route. But as per my functionality if i come back to the New york again my route must be visible. Consider the following scenario and we can check this even with the demo application

1. Draw a route between points near New York.

2. Navigate to for ex Paris using geocode where you can see the route will be shown. ( I want to clear here)

3. Navigate to some other places. (It must not show here)

4. After 'n' places i am giving New York or some area near my route. Route must be visible.

have i missed anything in concept of GMap.NET






Jul 1, 2010 at 1:58 PM

i'm still wondering what exactly do you want to achieve ;/

Jul 2, 2010 at 7:48 AM

I think my words has been very misleading.  Very sorry for that Radioman .

Let me put this question in another way from the demo(WPF)

1.Draw a route between by selecting two points near New York.

2. Now using geo Textbox navigate to Paris where we can see our route is visible

3. Pan the Map.(the route disappears)

4. Now again using geo navigate back to New York(the route is not visible)

5. Pan the Map(the route appears)

How to make the route disappear with out pan and reappear with out pan?



Jul 2, 2010 at 1:48 PM

yes, that was a bug, fixed now, thanks