Changing MinScale and MaxScale on DynamicLayerInfo not working

4098
1
11-11-2015 09:14 AM
ColinWyatt
New Contributor II

My code to update the DynamicLayerInfo scaling properties doesn't seem to work for me.

I can change MinScale and MaxScale on the DynamicLayer itself, but changing them for one of the sub-layers doesn't seem to have an effect.

If I try and remove and re-add the DynamicLayerInfo with the new values, the feature layer disappears.

I notice the Layer.MinScale/MaxScale uses double.NaN to indicate an unset value, whereas the DynamicLayerInfos have 0.0 as a default value.

Any ideas what I might be missing?

Thanks.

Tags (2)
0 Kudos
1 Reply
ColinWyatt
New Contributor II

Looks to be the same problem as listed here:

GroupLayer.MinScale/MaxScale not working

0 Kudos