laptop and a wrench

Bogue

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

Dernière publication: September 18, 2018 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000107002
EnvoiJuly 31, 2017
Dernière modificationJune 5, 2024
S’applique àArcGIS API for JavaScript
Version trouvée4.3
Système d’exploitationAndroid
Version du système d’exploitation6.0x
StatutWill Not Be Addressed

Informations supplémentaires

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.

Solution de contournement

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.

Étapes pour reproduire

ID de bogue: BUG-000107002

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