(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.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.