(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.
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.