UriImageProvider and Zoom Levels

2 posts, 0 answers
  1. Chris Johnson
    Chris Johnson avatar
    15 posts
    Member since:
    Feb 2006

    Posted 21 Sep 2011 Link to this post

    Hi,

    We have a large PNG image that represents a marine chart, this displays as a layer successfully using the UirImageProvider but not at its native resolution which is between zoom level 5 and 6.  At level 5 it is slightly 'shrunken' and at level 6 it is slightly 'zoomed in'.

    How do you display the layer at its native resolution?

    Regards

    John
  2. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 23 Sep 2011 Link to this post

    Hello John Howe,

    Please, check that geographical bounds (GeoBounds, or GeoBoundsNW and GeoBoundsSE properties) are set precisely for UriImageProvider. It resizes images to the correspondent zoom level quite well.

    There is no way to show image at its native resolution if pixel size of the image does not corresponds to the pixel size of the covered geographical region at the specified zoom level.

    Best regards,
    Andrey Murzov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top