Numéro d’ID de bogue |
BUG-000087251 |
Envoi | April 27, 2015 |
Dernière modification | June 3, 2025 |
S’applique à | ArcGIS API for JavaScript |
Version trouvée | 3.13 |
Système d’exploitation | Windows OS |
Version de correction | 3.14 |
Statut | Fixed
Le bogue a été corrigé. Pour plus d’informations, reportez-vous aux sections Version de correction et Informations supplémentaires, le cas échéant.
|
Solution de contournement
The workflow outlined in the following code snippet allows the Editor widget to function correctly:
var wmtsLayer = new WMTSLayer("<URL to your layer>", options);
//Create a URL Object
var url = {"path":"<URL to your layer>", "query":null};
//Wait until the WMTS Layer has loaded, then change its _url parameter to the above object
wmtsLayer.on("load", function() {
//Set the WMTS layer _url variable to the variable created
wmtsLayer._url = url;
//Add the WMTS layer to the map
map.addLayer(wmtsLayer);
Étapes pour reproduire
ID de bogue: BUG-000087251
Logiciel:
- ArcGIS API for JavaScript