layer.addEventListener(FlexEvent.HIDE, layer_hideHandler);
if (label == "Louisville Places") { featureLayer.addEventListener(LayerEvent.UPDATE_END, checkMapScale); }
private function checkMapScale(event:LayerEvent){ if(map.scale < 100000){ map.infoWindow.hide(); } }
private function checkMapScale(event:LayerEvent){ if(map.scale < 100000){ featureLayer.addEventListener(LayerEvent.UPDATE_END, checkMapScale); } }
featureLayer.addEventListener(LayerEvent.IS_IN_SCALE_RANGE_CHANGE, checkMapScale);
featureLayer.addEventListener(LayerEvent.UPDATE_END, checkMapScale);
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.