Overview Widget does not display the map if non-default settings are used.
上次发布: August 25, 2014No Product Found
漏洞 ID 编号
NIM063835
已提交
December 28, 2010
上次修改时间
April 2, 2025
适用范围
No Product Found
找到的版本
Other
编程语言
Flex
修正版本
10
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
附加信息
Fixed in version 2.3
解决办法
One of the ways:Modify the function sequence1_effectStartHandler as below private function sequence1_effectStartHandler(event:EffectEvent):void { if (currentState == "expanded") { var url:String = configXML.layer.@url; if (baseMapSwitched) { showCurrentBaseMap(currentBaseMapId); } else { // on start up and if basemap is not switched for (var i:int = 0; i < configData.basemaps.length; i++) { var basemapLabel:String = configData.basemaps[i].label; var isVisible:Boolean = configData.basemaps[i].visible; for each (var layer:Layer in ovMap.layers) { if (layer.id == basemapLabel) { layer.visible = isVisible; } else if(url) { if (!(layer is GraphicsLayer && layer.name == "overviewMapGraphicsLayer" )) { layer.visible = true; } } } } } } }