OsmSharp / ui

The UI components.
http://osmsharp.com/
GNU General Public License v2.0
138 stars 90 forks source link

Removing route does not invalidate map view #150

Closed JoeCooper closed 10 years ago

JoeCooper commented 10 years ago

Adding is fixed (#120) but not removing. As before there doesn't seem to be any way to externally force it. Is there any way to expedite this fix?

JoeCooper commented 10 years ago

Also not invalidating when it first comes up.

xivk commented 10 years ago

You should be able to invalidate the MapView by casting it to an IMapView and then call Invalidate(). Anyway will fix this later today when I'm home.

What do you mean when it first comes up? That should have been fixed in issue #121

xivk commented 10 years ago

@JoeCooper How do you remove a route? Do you use Clear()?

xivk commented 10 years ago

Fixed by dbaab98390bf0eb48449b4fb32a0eb8ba6c145d6

JoeCooper commented 10 years ago

I'm out for a few days, but I've asked my colleague to try your fix and when I come back I'll check that I'm using Clear() and I'll run the update as well and get back to you with any results. Thanks again for quick replies!

On Tue, Jul 29, 2014 at 12:41 PM, Ben Abelshausen notifications@github.com wrote:

You should be able to invalidate the MapView by casting it to an IMapView and then call Invalidate(). Anyway will fix this later today when I'm home.

What do you mean when it first comes up? That should have been fixed in issue #121 https://github.com/OsmSharp/OsmSharp/issues/121

— Reply to this email directly or view it on GitHub https://github.com/OsmSharp/OsmSharp/issues/150#issuecomment-50460668.

xivk commented 10 years ago

:+1: