RadMap zoomlevel granularity

7 posts, 1 answers
  1. James
    James avatar
    30 posts
    Member since:
    Aug 2008

    Posted 01 Dec 2010 Link to this post

    Is there any chance that we can get the zoomlevel changed to a double so that I can more precisely size my map? Or is there another way to achieve this? E.G. the difference between zoom level 7 and 8 on one of the supplied US state shapefiles is quite a lot. I'd like to be able to zoom in at, say 7.3 or 7.4.
  2. Answer
    Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 06 Dec 2010 Link to this post

    Hello James,

    At present, the map control supports a zoom level of integer type only.
    Most of the map providers do not allow getting tiles for fractional zoom levels. So, the RadMap supports integer zoom levels irrespective of type of map provider you use (bing, open street or empty provider).
    I hope this information helps.

    Regards,
    Andrey Murzov
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for WPF
  3. UI for WPF is Visual Studio 2017 Ready
  4. James
    James avatar
    30 posts
    Member since:
    Aug 2008

    Posted 06 Dec 2010 Link to this post

    Can I do a transform on the MapLayer to make it just a bit larger?
  5. James
    James avatar
    30 posts
    Member since:
    Aug 2008

    Posted 06 Dec 2010 Link to this post

    I'm using a ScaleTransform - it works. Not perfect, but not bad.

    ScaleTransform scaleMap;
    scaleMap = new ScaleTransform(1.2, 1.2);
    RadMap1.RenderTransform = scaleMap;
  6. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 09 Dec 2010 Link to this post

    Hi James,

    I should note that applying of the transformation to the map object (or to the layer) isn't a good idia. It will brake all calcualtions which use screen coordinates (mouse click, for example). It also could affect panning and zooming and provide wrong position for the items over the map.

    Regards,
    Andrey Murzov
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for WPF
  7. Steven
    Steven avatar
    4 posts
    Member since:
    Oct 2010

    Posted 29 Mar 2011 Link to this post

    It's not the integer for us that is the problem, it's the granularity of the integer, specifically with the Bing Map Provider.If there were 32,000 integer levels then things would be A-OK.

    I don't know the range in meters for the zoom on the Bing Map Provider but it either zooms in too much or out too much and there's no middle ground.

    Are there any other ways we can affect the granularity of the zoom for the Bing Map Provider?
  8. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 01 Apr 2011 Link to this post

    Hi Steven,

    Unfortunately there is no way  to change granularity of the zoom. Microsoft Bing imagery services don't support something else. 

    Kind regards,
    Andrey Murzov
    the Telerik team
Back to Top
UI for WPF is Visual Studio 2017 Ready