Calling IGlobeDisplayLayers::RefreshLayer on a layer that is draped on to globe in ArcGlobe hangs the application.
最後に公開された状態: August 25, 2014No Product Found
不具合 ID 番号
NIM004546
送信されました
October 2, 2006
最終更新日
June 5, 2024
適用対象
No Product Found
見つかったバージョン
9.2 RC
ステータス
Known Limit
開発チームによる確認後に、この問題が、Esri の管理の範囲外にあるソフトウェアの既知の制限に関するものであると判断されました。 問題の「参考情報」セクションに、さらに詳細な説明が示されていることがあります。
参考情報
No Public Explanation
対処法
We can reproduce the issue here, but the problem really relates to the order of the workflow.The code works fine if:1. Before calling “updateFeatureLayerProperties” a call to IGlobeDisplayLayers.RefreshLayer is made. In this case the code will look something like://Add the layer to globe as draped_globe.AddLayerType((ILayer)fLayer, esriGlobeLayerType.esriGlobeLayerTypeDraped, true);//Add a feature to the feature class addDrawing(System.Drawing.Color.Red, 10, fLayer);//Refresh the layer since the source feature class has changedIGlobeDisplayLayers gd = _globe.GlobeDisplay as IGlobeDisplayLayers; gd.RefreshLayer(fLayer as ILayer);//Apply globe layer properties updateFeatureLayerProperties(fLayer);//Now refreshing the layer with call to IGlobeDisplayLayers.RefreshLayer via the second command button on the user’s custom toolbar works fine2. OR if “updateFeatureLayerProperties” is called before adding a feature to the feature class. In this case the code will be a simple rearrangement of the original lines of code://Add the layer to globe as draped_globe.AddLayerType((ILayer)fLayer, esriGlobeLayerType.esriGlobeLayerTypeDraped, true);//Apply globe layer properties updateFeatureLayerProperties(fLayer);//Add a feature to the feature class addDrawing(System.Drawing.Color.Red, 10, fLayer);//Now refreshing the layer with call to IGlobeDisplayLayers.RefreshLayer via the second command button on the user’s custom toolbar works fine