Loading a specific WMS layer on a 10 inch tablet fails to load.
最後に公開された状態: November 29, 2016ArcGIS Runtime SDK for Android
不具合 ID 番号
BUG-000100398
送信されました
October 27, 2016
最終更新日
March 30, 2022
適用対象
ArcGIS Runtime SDK for Android
見つかったバージョン
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); }}