laptop and a wrench

漏洞

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

上次发布: November 29, 2016 ArcGIS Runtime SDK
漏洞 ID 编号 BUG-000100398
已提交October 27, 2016
上次修改时间June 5, 2024
适用范围ArcGIS Runtime SDK
找到的版本10.2.8
操作系统Android
操作系统版本5.1x
状态Will Not Be Addressed

附加信息

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.

解决办法

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); }}

重现步骤

漏洞 ID: BUG-000100398

软件:

  • ArcGIS Runtime SDK

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项