laptop and a wrench

Erro

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

Última Publicação: November 29, 2016 ArcGIS Runtime SDK for Android
Número de ID do Erro BUG-000100398
EnviadoOctober 27, 2016
Última ModificaçãoMarch 30, 2022
Aplica-se àArcGIS Runtime SDK for Android
Versão encontrada10.2.8
Plataforma do servidorAndroid
Plataforma do cliente5.1x
StatusWill Not Be Addressed

Informações Adicionais

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.

Solução Provisória

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

Etapas para Reproduzir

ID do Erro: BUG-000100398

Software:

  • ArcGIS Runtime SDK for Android

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com suporte técnico

Baixe o Esri Support App

Ir para opções de download

Descubra mais sobre este tema