Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
770
Better map image definition with openstreetmaps
posted

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

Parents Reply
  • 30692
    Verified Answer
    Offline posted in reply to Isidoro Aguilera

    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

Children