Question about map scale

2 posts, 0 answers
  1. Nicolas
    Nicolas avatar
    1 posts
    Member since:
    Nov 2012

    Posted 18 Mar 2014 Link to this post


    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 ? 

  2. Andrey
    Andrey avatar
    1681 posts

    Posted 19 Mar 2014 Link to this post

    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.

    Andrey Murzov

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

  3. DevCraft R3 2016 release webinar banner
Back to Top