show and hide layer

3988
1
01-25-2015 11:43 PM
lasinh
by
New Contributor III

My map have 5 scale: 1000000, 500000, 200000, 100000, 50000, how to  hide a layer at scale 200000 show other scale( use event zoom-end of Map API)

0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus

La Sinh,

   Use the Layers maxScale and minScale property.

0 Kudos