ThinkGeo.com    |     Documentation    |     Premium Support

ZoomLevelSets

I have a general question relating to Zoom Levels.  Since Zoom Levels are tied to a feature layer (in my case an MsSqlFeatureLayer), if the data on a single layer doesn't cover the entire mapping area, will it have a different ZoomLevelSet than the Layer containing overview data?  For example, my overview layer includes major roads.  Another layer contains railroads and only covers a corner of the overview area.  Does the railroad layer have a different ZoomLevelSet than the overview layer if I don't replace them both with the same custom zoom level set?


Charles



The default  Zoom Levels are the same for all the layers regardless of the extent of the different layers. So, if you use the default zoom level set, the different zoom levels are the same for the major roads layer and the railroad layer. You can change that using CustomZoomLevels. We have some projects in the Code Community on that:


code.thinkgeo.com/projects/show/customzoomlevels


code.thinkgeo.com/projects/show/zoomlevels



Val, 
  
 Thanks.  Can I change the scales on the default zoom level, or will they reset when I open another layer? 
  
 Charles

The default zoom levels have 20 levels from level 20 (high scale, world level) to level 1 (low scale, street level) and you cannot change the scale. You would have to create your own custom zoom levels to have the scales of your choice.