(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.
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.