Layer.DynamicLayerInfos = Layer.CreateDynamicLayerInfosFromLayerInfos(); foreach (LayerInfo layerInfo in Layer.DynamicLayerInfos) { layerInfo.MaxScale = MaxLayerScale; layerInfo.MinScale = MinLayerScale; } Layer.Refresh();
Note that by setting LayerInfo.MinScale/MaxScale you can reduce the scale range defined at server side but you can NOT extend this scale range.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.