laptop and a wrench

Error

A reference layer from multiple basemaps stay on a map when the basemap is switched in the basemap gallery.

Última publicación: June 29, 2015 ArcGIS API for JavaScript
Número de ID del error BUG-000085714
EnviadoFebruary 27, 2015
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for JavaScript
Versión encontrada3.12
Sistema operativoWindows OS
Versión de sistema operativo7 64 Bit
EstadoKnown Limit

Información adicional

This is a known limit with 3.x and will be addressed in 4.x.

Solución alternativa

Set one of the basemaps as a starting basemap, and add the following code in the application : var bool = true; // declare this globally basemapGallery.on("selection-change", function() { if(bool == true){ map.removeLayer(map.getLayer("layer1")); bool = false; // Since this happens only ones we don't need it anymore. } });

Pasos para reproducir

ID del error: BUG-000085714

Software:

  • ArcGIS API for JavaScript

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga