Im using openstreetmaps background, maps show blurred and text pixelated, more or less depending on zoom level. Is there some parameter to get better images from openstreetmaps provider?
Thanks
Hello Isidoro,
Do you see the similar issue with our online sample as well?
http://www.igniteui.com/map/openstreet-maps
Please let me know if you have any further questions regarding this matter.
Yes I think is because the same image is interpolated in several levels of zoom. Is possible to obtain images at more zoom levels? Or limit zoom to leves where images are available (as openstreetmaps do in their web site?)
Thanks a lot for the explanation i will explain to the customer and if they want discrete zooms matching opwnstreetmaps zooms level i will try the event solution (or change to bing maps, bing maps resolution seems better)
Thanks a lot for your help.
Note, we allow continuous zooming, which may also be the source of your blurriness. If you check out the open street maps page:
http://www.openstreetmap.org
They stop you at very discrete zoom stops, probably locked to the actual resolution of the image tiles, which would combat text blurriness, but limits the precise ability to select exactly the zoom level you want.
Our way is more flexible and gives a smoother zoom experience (especially with pinch/spread on touch). But means that you may sometimes be in between discrete zoom levels of the underlying tile source.
You could coerce the zoom levels to try and lock the map to these discrete zoom stops if you want. There is an event you can listen to in order to know when the map is changing zoom levels, and then you could compute a zoom level that more naturally fits the stops that OSM uses.
Another option would be to request from us a feature where we favor showing more images from a higher zoom level rather than less images from the closest level. There would be some performance impact from this choice and the text displayed may not be the optimal size (too small, perhaps), but would ensure the images were always crisp (though sometimes with some aliasing or moire effects maybe). Currently we don't provide such an option.
In any case, more details about your use case, and maybe some screenshots, would assist us.
-Graham
BTW, the images from Open Street Map are at discrete levels, so there aren't really in between images to use. We select a close match for your zoom level and display those. If an image download is pending, then you will get blurry images until the more appropriate level is downloaded, at which point the higher resolution image will crossfade into view.
Note, though, that these are bitmaps, so if anything is scaling the content of your site (browser, ipad retina scaling, etc) so that those images are displayed over more pixels than they were intended for then they will appear blurry even if we think we are displaying images from the appropriate scaling tier. If this is a high DPI scenario, such as on an ipad retina screen, then you may need us to artificially increase pixel density. We do actually have a property coming to aid in that in a future service release, but it would help to know your exact use case so that we can make sure to make sure we have it covered.
Hi, could you provide more information about the device you are using? Is this a retina ipad by any chance? Or is it a desktop? If the latter, do you have any zoom scale applied to your browser? Or are you at 100% zoom?