Hi ,
Is there a way to reduce the size of the Zoom Bar . I did dynamic Zoom Level partitioning which made the zoom bar long in many instances. How do we apply custom styles to a zoom bar.
Thanks,
Kreez.
Zoom Bar Styles and Size
Hi Kreez,
The PanZoomBar level number is related with current map, so you can reduce the size of it by add less zoomlevels to Map1.ZoomLevelSet.CustomZoomLevels.
Regards,
Don
Hi Don ,
I got this sorted out by doing something similar ; but what I am not able to do is to make the mouse scroll and the zoom bar click to not go lower than the current extent.
For E.g . Can I stop the user to zoom in lower than Level 5.
Regards,
Kreez
Hi ,
I was able to do this by creating a new ZoomLevelSet starting with the ZoomLevel05 scale and adding it to the Map. Intermediate levels can then be added to this new customzoomlevels by partitioning it .
Regards,
Kreez
Hi Kreez,
It looks you have solved that.
Yes the zoomlevel is controlled by scale value, so you can custom add the levels you want.
Regards,
Don