laptop and a wrench

不具合

Selected features in a MXD based map service display in black in a web application.

最後に公開された状態: August 25, 2014 ArcGIS Server (.NET)
不具合 ID 番号 NIM064555
送信されましたJanuary 27, 2011
最終更新日April 2, 2025
適用対象ArcGIS Server (.NET)
見つかったバージョン10.0
オペレーティング システムWindows OS
オペレーティング システムのバージョン7
ステータスKnown Limit

参考情報

10.1 was the last release of the .NET WebADF technology. Client APIs (JavaScript/Flex/Silverlight) are recommended for web application development.

対処法

1. Use MSD-based map service.2. Set LayerDescription.SetSelectionSymbol property to false.3. Set a transparent RgbColor object to the SimpleFillSymbol.Color property. Adding the source code below to the Page_Lord event handler in the Default.aspx.cs will fix this problem:if (!IsPostBack){ // Get LayerDescription ESRI.ArcGIS.ADF.Web.DataSources.IMapFunctionality mf = Map1.GetFunctionality("MapResourceItem0"); ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.MapResourceBase mrb = mf.Resource as ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.MapResourceBase; ESRI.ArcGIS.ADF.ArcGISServer.MapDescription mapDesc = mrb.MapDescription; ESRI.ArcGIS.ADF.ArcGISServer.LayerDescription layerDesc = mapDesc.LayerDescriptions[3]; // "LayerName" // Modify SelectionSymbol ESRI.ArcGIS.ADF.ArcGISServer.SimpleFillSymbol soapSfs = (ESRI.ArcGIS.ADF.ArcGISServer.SimpleFillSymbol)layerDesc.SelectionSymbol; if (soapSfs.Color == null) { // Create and set transparent fill color ESRI.ArcGIS.ADF.ArcGISServer.RgbColor noColor = new ESRI.ArcGIS.ADF.ArcGISServer.RgbColor();

再現の手順

不具合 ID: NIM064555

ソフトウェア:

  • ArcGIS Server (.NET)

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動