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

Question about map scale

1 Answer 50 Views
Map
This is a migrated thread and some comments may be shown as answers.
Nicolas
Top achievements
Rank 1
Nicolas asked on 18 Mar 2014, 10:09 AM
Hi, 

I have a question about map scales. Is it possible to modify the scale associated with a zoom level in the RadMap control?

My client want that zoom level 1 represents a scale 1 : 5 500 000, zoom level 2 represents a scale 1 : 2 500 000 and so on. 

It doesn't fit with the resolution of the map i display in RadMap. 

Is there any way to configure this ? 

Thanks, 

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 19 Mar 2014, 04:02 PM
Hello Nicolas,

The Silverlight RadMap displays the map images using a standard Silverlight MultiScaleImage control which utilizes a Deep Zoom concept. The WPF version of RadMap uses its own implementation of this control, but also implements the deep zoom concept.
For more information you can take a look at the following articles:
The Deep Zoom concept relies on the fact that the map size doubles between two consecutive zoom levels. This is why the width and the height of the whole map in tiles is calculated as 2 ^ zoom level. For example a zoom level of 1 should contain 4 tiles. Zoom level of 2 should contain 16 and so forth.

Therefore it's impossible in RadMap to use custom resolutions for zoom level as such an approach conflicts with the Deep Zoom concept.

Regards,
Andrey Murzov
Telerik

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

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