laptop and a wrench

Bug

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

Zuletzt veröffentlicht: September 18, 2018 ArcGIS API for JavaScript
Bug-ID-Nummer BUG-000107002
EingereichtJuly 31, 2017
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS API for JavaScript
Gefunden in Version4.3
BetriebssystemAndroid
Betriebssystemversion6.0x
StatusWill Not Be Addressed

Zusätzliche Informationen

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.

Workaround

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.

Schritte zur Reproduzierung

Bug-ID: BUG-000107002

Software:

  • ArcGIS API for JavaScript

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln