AnsweredAssumed Answered

Can't get max/min scale dependency from layer object

Question asked by enipla on Jan 9, 2015

Hi all,

 

I create a new layer group with this -

 

 

layers = new esri.layers.ArcGISDynamicMapServiceLayer("http://...");

 

The problem is it's not creating a dynamic layer so I can't get the scale dependency properties.  It's just a regular layer object.  I can get name, defaultvisibility but that's about it.

 

How do I create a dynamic layer?

 

Thanks

Outcomes