laptop and a wrench

Bogue

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.

Dernière publication: December 13, 2017 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000110133
EnvoiDecember 12, 2017
Dernière modificationJune 5, 2024
S’applique àArcGIS API for JavaScript
Version trouvée4.5
StatutWill Not Be Addressed

Informations supplémentaires

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.

Solution de contournement

Add the following parameter to the constructor of the WebTiledLayer:

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

Étapes pour reproduire

ID de bogue: BUG-000110133

Logiciel:

  • ArcGIS API for JavaScript

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement