laptop and a wrench

不具合

Fail to load a secured Web Map Tile Service (WMTS) into ArcMap using ArcObjects SDK with a token attached to the PropertySetClass property.

ArcObjects SDK
不具合 ID 番号 BUG-000161044
送信されましたAugust 30, 2023
最終更新日January 29, 2025
適用対象ArcObjects SDK
見つかったバージョン10.8
オペレーティング システムN/A
オペレーティング システムのバージョンN/A
ステータスNon-Reproducible

参考情報

This issue was not reproducible in-house and will not be addressed at this time. If the issue persists, contact Esri Support Services.

対処法

Use this Java code snippet that shows how to send custom parameters to a WMTS service:

IMapDocument mapDocument = new MapDocument(); mapDocument.open("c:\\temp\\test1.mxd", ""); IMap map = mapDocument.getMap(0); WMTSConnectionName wmtsConnectionName = new WMTSConnectionName(); String url = "https://SERVICE_URL?CUSTOM_KEY=CUSTOM_VALUE"; //Add all custom parameters here as queryString String layerName = "layerName"; IPropertySet propSetCustomParameters = (IPropertySet) new PropertySet(); //Add all custom parameters here propSetCustomParameters.setProperty("CUSTOM_KEY", "CUSTOM_VALUE"); IPropertySet propSet = wmtsConnectionName.getConnectionProperties(); propSet.setProperty("URL", url); propSet.setProperty("LAYERNAME", layerName); propSet.setProperty("CAPABILITIES_PARAMETERS", propSetCustomParameters); wmtsConnectionName.setConnectionProperties(propSet); WMTSLayerFactory wmtsLayerFactory = new WMTSLayerFactory(); IEnumLayer wmtsLayers = wmtsLayerFactory.create(wmtsConnectionName); ILayer wmtsLayer = wmtsLayers.next(); map.addLayer(wmtsLayer); mapDocument.save(true, true); mapDocument.close();

再現の手順

不具合 ID: BUG-000161044

ソフトウェア:

  • ArcObjects SDK

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

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

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

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

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

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

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