laptop and a wrench

Bug

The maxScale and minScale Property are always 0 for MapImageLayer sublayers on ArcGIS API for JavaScript 4.1 and above.

Zuletzt veröffentlicht: June 20, 2017 ArcGIS API for JavaScript
Bug-ID-Nummer BUG-000104613
EingereichtApril 20, 2017
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS API for JavaScript
Gefunden in Version4.3
BetriebssystemN/A
BetriebssystemversionN/A
StatusWill Not Be Addressed

Zusätzliche Informationen

Since the sublayers are manually set and only visible and id are specified, the rest of the properties use default values (0,0) If you want to keep the minScale/maxScale of the sublayers, you can either do new MapImageLayer({ sublayers: [{ id: ..., visible:..., minScale: ..., maxScale }] }) or var layer = new MapImageLayer({url: ...}); layer.sublayers.getItemAt(...).visible = ...;

Schritte zur Reproduzierung

Bug-ID: BUG-000104613

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