laptop and a wrench

Bug

Loading a specific WMS layer on a 10 inch tablet fails to load.

Zuletzt veröffentlicht: November 29, 2016 ArcGIS Runtime SDK
Bug-ID-Nummer BUG-000100398
EingereichtOctober 27, 2016
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS Runtime SDK
Gefunden in Version10.2.8
BetriebssystemAndroid
Betriebssystemversion5.1x
StatusWill Not Be Addressed

Zusätzliche Informationen

Depending on the device, the requested image size can be huge; this is limited to ArcGIS for Server services with the known maximum configured size. There is no way of knowing the size of a non-ArcGIS for Server WMS service. Use the suggested workaround to resolve this problem.

Workaround

Extend the WMSLayer and in the GetImage request, have it return the maximum size if the size requested exceeds the maximum: public class MyWMS extends WMSLayer { public MyWMS(String url) { super(url); } @Override protected byte[] getImage(int width, int height, Envelope extent) throws Exception { if(width>1600) { return super.getImage(1600, height, extent); } return super.getImage(width, height, extent); }}

Schritte zur Reproduzierung

Bug-ID: BUG-000100398

Software:

  • ArcGIS Runtime SDK

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