laptop and a wrench

Bug

WebTiledLayers cannot be added to the map if the spatial reference of the service is not 102100 in the ArcGIS API for JavaScript 4.5.

Zuletzt veröffentlicht: December 13, 2017 ArcGIS API for JavaScript
Bug-ID-Nummer BUG-000110133
EingereichtDecember 12, 2017
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS API for JavaScript
Gefunden in Version4.5
StatusWill Not Be Addressed

Zusätzliche Informationen

Updated the code snippet that was originally submitted with the issue to work, please refer to https://codepen.io/anon/pen/xeyKyW?&editable=true&editors=100 for working example.

Workaround

Add the following parameter to the constructor of the WebTiledLayer:

spatialReference: new SpatialReference(<service's spatial reference>);

Schritte zur Reproduzierung

Bug-ID: BUG-000110133

Software:

  • ArcGIS API for JavaScript

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln