laptop and a wrench

Error

Layers in an application built with Ionic is not behaving as expected.

Última publicación: September 18, 2018 ArcGIS API for JavaScript
Número de ID del error BUG-000107002
EnviadoJuly 31, 2017
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for JavaScript
Versión encontrada4.3
Sistema operativoAndroid
Versión de sistema operativo6.0x
EstadoWill Not Be Addressed

Información adicional

All images in the page are assigned max-width: 100% by www/build/main.css in this project. img { max-width: 100%; border: 0; } This is causing map images in MapImageLayer to shrink (to fit the size of its parent div) when zooming in beyond a certain scale, depending on the screen size of these images.

Solución alternativa

Fix www/build/main.css to scope the rule properly such that map images inside the ESRI map are not affected.Or,Override the max-width set by main.css by setting max-width: none; specifically for map images. Like this:#map_layer1 img {  max-width: none;}This would be easier if users assign a layer ID for the MapImageLayer and reference that ID in the CSS rule above.

Pasos para reproducir

ID del error: BUG-000107002

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