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

Custom Map Scale?

1 Answer 110 Views
Map
This is a migrated thread and some comments may be shown as answers.
Dan Kane
Top achievements
Rank 1
Dan Kane asked on 26 Jul 2010, 10:35 PM
What we are doing here is that we are implementing our own map and trying to use it through the radmap control on a silverlight app. For us, we do not need the whole world to be visible on the map nor even zoom out that far. but the radmap has a default 20 zoom levels, the top level (1) zooms to the world, and the lowest level (20) zoom to somewhere at  street level. 

questions:

(1) is there any way I can customize the zoom levels? so that, instead of having 20 zoom levels, we can have 10. MORE IMPORTANTLY, we can set the pixel/meter ratio to a value we prefer as we will be needing the accurate coordinates on the map.

(2) if we cant achieve the above situation, can you at least supply the pixel/meter ratio. or coordinates/meter ratio or any ratio of different map zoom levels of rad map? so that we can generate the map according to those values. 

thank you very much

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 27 Jul 2010, 05:14 PM
Hello Dan Kane,

Unfortunately you cannot change the predefined zoom levels in the current version of RadMap, however, we are planning to improve this behavior for one of the future releases. Also, we are planning significant updates for the map tile provider logic and you can track the progress through our public issue tracking system (note this PITS issue has different title, but we will implement ability to limit zoom levels (min-max) for map provider when we will be working on this task).

As for your second question -- RadMap does not use static pixel-per-meter or coordinate-per-meter ratio. It uses more complex calculations which involve geographical projections (most of the online map tile providers use Mercator projection). You can find more information about tile systems here (this article describe Bing Maps Tile System).


Kind regards,
Andrey Murzov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Map
Asked by
Dan Kane
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or