This is a migrated thread and some comments may be shown as answers.

UriImageProvider and Zoom Levels

1 Answer 63 Views
Map
This is a migrated thread and some comments may be shown as answers.
Chris Johnson
Top achievements
Rank 1
Chris Johnson asked on 21 Sep 2011, 07:53 AM
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

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 23 Sep 2011, 11:33 AM
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 >>

Tags
Map
Asked by
Chris Johnson
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or