# How do I set the ZoomeLevel Scales on the webmap

**URL:** <https://community.thinkgeo.com/t/how-do-i-set-the-zoomelevel-scales-on-the-webmap/5791>\
**Category:** WebForms\
**Created:** [April 17, 2011, 10:13pm UTC](https://community.thinkgeo.com/t/how-do-i-set-the-zoomelevel-scales-on-the-webmap/5791 "2011-04-17T22:13:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/r/e95f7d/32.png) [@Robert](https://community.thinkgeo.com/u/Robert)\
**Post date:** [April 17, 2011, 10:13pm UTC](https://community.thinkgeo.com/t/how-do-i-set-the-zoomelevel-scales-on-the-webmap/5791/1 "2011-04-17T22:13:06Z")

</div>

&nbsp;What&nbsp;is&nbsp;the&nbsp;web&nbsp;equivalent&nbsp;of&nbsp;this:

` With m_map.ZoomLevelSet .ZoomLevel20.Scale = baseScale .ZoomLevel19.Scale = baseScale * 2 .ZoomLevel18.Scale = baseScale * 4 .ZoomLevel17.Scale = baseScale * 8 .ZoomLevel16.Scale = baseScale * 16 .ZoomLevel15.Scale = baseScale * 32 .ZoomLevel14.Scale = baseScale * 64 .ZoomLevel13.Scale = baseScale * 128 .ZoomLevel12.Scale = baseScale * 256 .ZoomLevel11.Scale = baseScale * 512 .ZoomLevel10.Scale = baseScale * 1024 .ZoomLevel09.Scale = baseScale * 2048 .ZoomLevel08.Scale = baseScale * 4096 .ZoomLevel07.Scale = baseScale * 8192 .ZoomLevel06.Scale = baseScale * 16384 .ZoomLevel05.Scale = baseScale * 32768 .ZoomLevel04.Scale = baseScale * 65536 .ZoomLevel03.Scale = baseScale * 131072 .ZoomLevel02.Scale = baseScale * 262144 .ZoomLevel01.Scale = baseScale * 524288 End With`

Thanx,

Rob

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [April 17, 2011, 10:43pm UTC](https://community.thinkgeo.com/t/how-do-i-set-the-zoomelevel-scales-on-the-webmap/5791/2 "2011-04-17T22:43:04Z")

</div>

Hi&nbsp;Robert,

In&nbsp;WebEdition,&nbsp;you&nbsp;can&nbsp;use&nbsp;the&nbsp;following&nbsp;code&nbsp;to&nbsp;customize&nbsp;your&nbsp;zoomlevels.

`Dim newZoomLevelSet As New ZoomLevelSet()newZoomLevelSet.ZoomLevel20.Scale = baseScale' Other zoomlevelsnewZoomLevelSet.ZoomLevel01.Scale = baseScale * 524288Map1.SyncClientZoomLevels(newZoomLevelSet)`

Regards,

Ivan
