AnsweredAssumed Answered

Changing MinScale and MaxScale on DynamicLayerInfo not working

Question asked by jamr101 on Nov 11, 2015
Latest reply on Nov 12, 2015 by jamr101

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.

Outcomes