(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.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.