Hi
Are there limits on zoom?
In my application
projection Epsg 2154
CustomZoomLevels 0-16 (Scale 1000000 to 1)
The layers are Shapefile, InMemoryFeatureLayer, TrackOverlay and EditOverlay.
I work with Gps high accuracy (10 cm). I want to see difference between 2 points with less than 50 cm away.
It is not very visible.
Are there limits to enlarge view ?
Best Regards
Laurent M
Limit of zoom
Hi Maumet,
Since all of the layers are vector layers, there is no limits zoom on the map. The zoom level is based on the map’s zoomlevels, here is your CustomZoomLevel. So, if you want an accuracy view by zooming more into the map, we can add more zoomlevels and add more small scales in the zoomlevels.
I think the 0-16 may not enough for you and you can add the more scales until you accept the zooms:
zoom 0: 1000000
zoom1: 1000000/2
zoom2: 1000000/2/2
…
If any questions on implement it, I think you can provides us your data or your sample so that we can help you on it directly.
Thanks,
Troy
Hi
Ok, I have created 22 levels of zoom. But I had to change the MinimumScale of mapview.
When the zoom is very small the Scalebar (ScaleBarAdornmentLayer) disappear.
Best Regards.
Laurent M
Maumet,
The scale bar disappearing is because it is limited in some levels. In order to avoid the disappearing, we need to implement a custom scale bar, the below is the sample link.
wiki.thinkgeo.com/wiki/File:…091015.zip
Then use it as:
CustomUnitScaleBarAdornmentLayer scaleBar = new CustomUnitScaleBarAdornmentLayer();
scaleBar.UnitText
= “CM”;
scaleBar.MeterToUnit = 0.01;
Thanks,
Troy
Hi
It is ok
Thank you
Laurent M
Maumet,
You’re welcome, any other questions, don’t hesitate to let us know.
Thanks,
Troy