Select to view content in your preferred language

Visible scale range

1065
1
05-07-2014 10:06 PM
BeraAkamole
Deactivated User
Hi

We use Arcgis server to publish services. These services are combined into applications which is used by our organization.

Is it possible to set a visible scale range for a service kind of like the same way as you can set a visible scale range for a layer in the unpublished mxd?

Im thinking of publishing the same map (/service) twice, cache one down to scale 1:2500 and then i want the other one to become active (and the cached one inactive) for scales below 1:2500 and this i want to be dynamic. I dont want to use 'cache on demand'
Tags (2)
0 Kudos
1 Reply
LuciHawkins
Frequent Contributor
Visible scale ranges that are set for layers in the mxd prior to publishing are honored on the server.  You can also set a minimum or maximum scale range when you load the layer in the javascript application.

https://developers.arcgis.com/javascript/jsapi/layer.html

Hope this helps,

Luci
0 Kudos