(map.getLayer(opLayers.label) as FeatureLayer).maxAllowableOffset = getMaxAllowableOffset();
map.getLayer(opLayers.label).maxAllowableOffset = getMaxAllowableOffset();
private function map_zoomEndHandler(event:ZoomEvent):void { var opLayers:Array = m_configData.opLayers; for (var i:int = 0; i < opLayers.length; i++){ map.getLayer(opLayers.label).maxAllowableOffset = getMaxAllowableOffset(); } }
The maximum allowable offset used for generalizing geometries returned by the Query operation. The units are the same as the returned features. Only applicable for layers that are not editable.
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.