1

Closed

Polygons get very blurry, when you zoom in too much and dissapear when you zoom out more

description

Polygons get very blurry, when you zoom in too much and dissapear when you zoom out more
Closed Apr 21, 2014 at 9:25 PM by pauldendulk
A lot has been changed since the version this was reported on. I need more specific info to reproduce this.

comments

pauldendulk wrote Apr 12, 2013 at 3:46 PM

This is probably related to the TransformMatrix

Which platform did you use?

philjay wrote Apr 12, 2013 at 8:10 PM

It happens on all XAML platforms.
To clarify, they dissapear then you zoom IN too much(depends on the defined resolutions of the layer).

pauldendulk wrote Apr 12, 2013 at 10:50 PM

Do you also get the blurring on all XAML platforms?

pauldendulk wrote Apr 14, 2013 at 9:20 AM

I see blurring in Win8, not in WPF.

I think it is this issue:
http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/9a62ce20-af0f-4def-b5c4-db5b82566ec0/

I see no easy workaround. The solution would be to create a polygon that is clipped to the screen bounds. But this would mean a different polygon with every viewport change. That's not what I want.

The only real solution I see is to use something completely different for rendering, like SharpDX.

philjay wrote Apr 15, 2013 at 9:34 AM

In our version we have it somehow fixed, but to be honest, I'm not really sure what is different, besides the linestring always re-rendering(which is the not so nice workaround). I might create a fork and upload our mapsui version when I have time (adds WP8 version and inertia panning).
I would absolutely love a SharpDX renderer by the way(Have long thought about implementing one...), Performance and experience on RT tablets (and also phone) would greatly benefit from it!

pauldendulk wrote Apr 15, 2013 at 1:11 PM

great, with the fork I could figure out what made the difference.

philjay wrote Apr 17, 2013 at 9:31 AM

Here you go: https://mapsui.codeplex.com/SourceControl/network/forks/philjay/mapsui/changeset/b3f59450b8f2
I have no idea if I got this tortoise stuff right, and I might have changed the Project to .Net 4.5 and did other bad things to it like a missing project... and I don't know how to checkout again so I can fix the solution.. But here you go :D