# Limit of zoom

**URL:** <https://community.thinkgeo.com/t/limit-of-zoom/6671>\
**Category:** Android\
**Created:** [August 14, 2015, 2:25am UTC](https://community.thinkgeo.com/t/limit-of-zoom/6671 "2015-08-14T02:25:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maumet](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/maumet/32/18991_2.png) [@Maumet](https://community.thinkgeo.com/u/Maumet)\
**Post date:** [August 14, 2015, 2:25am UTC](https://community.thinkgeo.com/t/limit-of-zoom/6671/1 "2015-08-14T02:25:25Z")

</div>

Hi&nbsp;  
  
Are&nbsp;there&nbsp;limits&nbsp;on&nbsp;zoom?  
  
In&nbsp;my&nbsp;application  
  
projection&nbsp;Epsg&nbsp;2154  
  
CustomZoomLevels&nbsp;0-16&nbsp;(Scale&nbsp;1000000&nbsp;to&nbsp;1)  
  
The&nbsp;layers&nbsp;are&nbsp;Shapefile,&nbsp;InMemoryFeatureLayer,&nbsp;TrackOverlay&nbsp;and&nbsp;EditOverlay.  
  
  
  
I&nbsp;work&nbsp;with&nbsp;Gps&nbsp;high&nbsp;accuracy&nbsp;(10&nbsp;cm).&nbsp;I&nbsp;want&nbsp;to&nbsp;see&nbsp;difference&nbsp;between&nbsp;2&nbsp;points&nbsp;with&nbsp;less&nbsp;than&nbsp;50&nbsp;cm&nbsp;away.  
  
It&nbsp;is&nbsp;not&nbsp;very&nbsp;visible.  
  
Are&nbsp;there&nbsp;limits&nbsp;to&nbsp;enlarge&nbsp;view&nbsp;?  
  
  
  
Best&nbsp;Regards  
  
Laurent&nbsp;M

---

<div class="post-metadata">

**Author:** ![Troy](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/t/85f322/32.png) [@Troy](https://community.thinkgeo.com/u/Troy)\
**Post date:** [August 17, 2015, 4:48am UTC](https://community.thinkgeo.com/t/limit-of-zoom/6671/2 "2015-08-17T04:48:22Z")

</div>

Hi&nbsp;Maumet,  
  
  
  
Since&nbsp;all&nbsp;of&nbsp;the&nbsp;layers&nbsp;are&nbsp;vector&nbsp;layers,&nbsp;there&nbsp;is&nbsp;no&nbsp;limits&nbsp;zoom&nbsp;on&nbsp;the&nbsp;map.&nbsp;The&nbsp;zoom&nbsp;level&nbsp;is&nbsp;based&nbsp;on&nbsp;the&nbsp;map’s&nbsp;zoomlevels,&nbsp;here&nbsp;is&nbsp;your&nbsp;CustomZoomLevel.&nbsp;So,&nbsp;if&nbsp;you&nbsp;want&nbsp;an&nbsp;accuracy&nbsp;view&nbsp;by&nbsp;zooming&nbsp;more&nbsp;into&nbsp;the&nbsp;map,&nbsp;we&nbsp;can&nbsp;add&nbsp;more&nbsp;zoomlevels&nbsp;and&nbsp;add&nbsp;more&nbsp;small&nbsp;scales&nbsp;in&nbsp;the&nbsp;zoomlevels.&nbsp;  
  
  
  
I&nbsp;think&nbsp;the&nbsp;0-16&nbsp;may&nbsp;not&nbsp;enough&nbsp;for&nbsp;you&nbsp;and&nbsp;you&nbsp;can&nbsp;add&nbsp;the&nbsp;more&nbsp;scales&nbsp;until&nbsp;you&nbsp;accept&nbsp;the&nbsp;zooms:  
  
zoom&nbsp;0:&nbsp;1000000  
  
zoom1:&nbsp;1000000/2  
  
zoom2:&nbsp;1000000/2/2  
  
…  
  
  
  
If&nbsp;any&nbsp;questions&nbsp;on&nbsp;implement&nbsp;it,&nbsp;I&nbsp;think&nbsp;you&nbsp;can&nbsp;provides&nbsp;us&nbsp;your&nbsp;data&nbsp;or&nbsp;your&nbsp;sample&nbsp;so&nbsp;that&nbsp;we&nbsp;can&nbsp;help&nbsp;you&nbsp;on&nbsp;it&nbsp;directly.  
  
Thanks,  
  
  
  
Troy

---

<div class="post-metadata">

**Author:** ![Maumet](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/maumet/32/18991_2.png) [@Maumet](https://community.thinkgeo.com/u/Maumet)\
**Post date:** [August 17, 2015, 8:33am UTC](https://community.thinkgeo.com/t/limit-of-zoom/6671/3 "2015-08-17T08:33:43Z")

</div>

Hi&nbsp;  
&nbsp;Ok,&nbsp;I&nbsp;have&nbsp;created&nbsp;22&nbsp;levels&nbsp;of&nbsp;zoom.&nbsp;But&nbsp;I&nbsp;had&nbsp;to&nbsp;change&nbsp;the&nbsp;MinimumScale&nbsp;of&nbsp;mapview.&nbsp;  
&nbsp;When&nbsp;the&nbsp;zoom&nbsp;is&nbsp;very&nbsp;small&nbsp;the&nbsp;Scalebar&nbsp;(ScaleBarAdornmentLayer)&nbsp;disappear.&nbsp;  
&nbsp;Best&nbsp;Regards.&nbsp;  
&nbsp;Laurent&nbsp;M&nbsp;

---

<div class="post-metadata">

**Author:** ![Troy](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/t/85f322/32.png) [@Troy](https://community.thinkgeo.com/u/Troy)\
**Post date:** [August 18, 2015, 3:22am UTC](https://community.thinkgeo.com/t/limit-of-zoom/6671/4 "2015-08-18T03:22:23Z")

</div>

Maumet,  
  
  
  
The&nbsp;scale&nbsp;bar&nbsp;disappearing&nbsp;is&nbsp;because&nbsp;it&nbsp;is&nbsp;limited&nbsp;in&nbsp;some&nbsp;levels.&nbsp;In&nbsp;order&nbsp;to&nbsp;avoid&nbsp;the&nbsp;disappearing,&nbsp;we&nbsp;need&nbsp;to&nbsp;implement&nbsp;a&nbsp;custom&nbsp;scale&nbsp;bar,&nbsp;the&nbsp;below&nbsp;is&nbsp;the&nbsp;sample&nbsp;link.  
  
[wiki.thinkgeo.com/wiki/File:…091015.zip](http://wiki.thinkgeo.com/wiki/File:ServicesEditionSample_ScaleBar_CS_091015.zip)  
  
  
  
Then&nbsp;use&nbsp;it&nbsp;as:

CustomUnitScaleBarAdornmentLayer&nbsp;scaleBar&nbsp;=&nbsp;new&nbsp;CustomUnitScaleBarAdornmentLayer();  
  
scaleBar.UnitText  
=&nbsp;“CM”;  
  
scaleBar.MeterToUnit&nbsp;=&nbsp;0.01;  
  
  
  
Thanks,  
  
Troy

---

<div class="post-metadata">

**Author:** ![Maumet](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/maumet/32/18991_2.png) [@Maumet](https://community.thinkgeo.com/u/Maumet)\
**Post date:** [August 18, 2015, 8:25am UTC](https://community.thinkgeo.com/t/limit-of-zoom/6671/5 "2015-08-18T08:25:12Z")

</div>

Hi&nbsp;  
&nbsp;It&nbsp;is&nbsp;ok&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thank&nbsp;you&nbsp;  
&nbsp;&nbsp;  
&nbsp;Laurent&nbsp;M

---

<div class="post-metadata">

**Author:** ![Troy](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/t/85f322/32.png) [@Troy](https://community.thinkgeo.com/u/Troy)\
**Post date:** [August 18, 2015, 8:13pm UTC](https://community.thinkgeo.com/t/limit-of-zoom/6671/6 "2015-08-18T20:13:07Z")

</div>

Maumet,&nbsp;  
&nbsp;&nbsp;  
&nbsp;You’re&nbsp;welcome,&nbsp;any&nbsp;other&nbsp;questions,&nbsp;don’t&nbsp;hesitate&nbsp;to&nbsp;let&nbsp;us&nbsp;know.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;Troy
