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

3804
0
01-09-2015 01:35 PM
by Anonymous User
Not applicable

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

Tags (1)
0 Kudos
0 Replies