Select to view content in your preferred language

scale dependent layer

586
2
09-06-2011 12:20 PM
lyndamccallum
Deactivated User
Hi

I have a dynamic map service with 2 layers. One of the layers is scale dependent. How to I check if the map is within it's visible extent? The visible property always seems to be true for both layers.

Thanks
0 Kudos
2 Replies
JenniferNery
Esri Regular Contributor
Support for scale dependency by feature layers and feature services will be included in our next release. The current API and previous versions did not have it yet so you are seeing the scale not respected.
0 Kudos
wangzhifang
Frequent Contributor
If you find your scale dependent layer does not work as you set in Client api, most likely the data source of your map service�?featureclass�?does not have correct spatial reference.
Check the spatial reference of you data source first.
0 Kudos