Polygons on GraphicLayers cannot be rendered without a fill.
最後に公開された状態: August 25, 2014No Product Found
不具合 ID 番号
NIM006365
送信されました
January 26, 2007
最終更新日
June 5, 2024
適用対象
No Product Found
見つかったバージョン
9.2
ステータス
Will Not Be Addressed
開発チームは、この問題またはリクエストを検討した結果、これに対処しないことに決定しました。 問題の「参考情報」セクションに、さらに詳細な説明が示されていることがあります。
参考情報
No Public Explanation
対処法
The problem occurs in: ESRI.ArcGIS.ADF.Web.Display.Drawing.DrawingUtility.cs:DrawSimpleFillSymbolline 399: Color fillColor = Color.FromArgb(fillTrans, sym.Color);Calling this method with Color.Empty is equivalent to:Color fillColor = Color.FromArgb(fillTrans, 0, 0, 0);Calling this method with Color.Transparent is equivalent to:Color fillColor = Color.FromArgb(fillTrans, 255, 255, 255);Thus the result will be a black or white color, with a transparency value set to fillTrans.The correct method would be not to call g.FillPolygon(...) in line 412 in case of Color.Empty or Color.Transparent, or in the case of a semitransparent color (sym.Color.A!=255) to multiply its transparency with the fillTrans value.Another workaround would be to make it possible to also specify a SimpleLineSymbol for rendering polygons. Currently if this is specified, the polygon never gets rendered.