// this works, but looks awful when zoomed in. final String url = "http://basemap.nationalmap.gov/ArcGIS/services/USGSTopo/MapServer/WMSServer"; map.addLayer(new WMSLayer(url)); // this doesn't work. no error, just a blank grid. // final String url = "http://services.nationalmap.gov/ArcGIS/services/USGSTopoLarge/MapServer/WMSServer"; // map.addLayer(new WMSLayer(url)); // blank grid here too. // final String url = "http://services.nationalmap.gov/ArcGIS/rest/services/USGSTopoLarge/MapServer"; // map.addLayer(new ArcGISDynamicMapServiceLayer(url)); // black screen this time. // final String url = "http://services.nationalmap.gov/ArcGIS/rest/services/USGSTopoLarge/MapServer"; // map.addLayer(new ArcGISImageServiceLayer(url, new ImageServiceParameters())); // also black. // final String url = "http://services.nationalmap.gov/ArcGIS/rest/services/USGSTopoLarge/MapServer"; // final ImageServiceParameters isp = new ImageServiceParameters(); // isp.setFormat(ImageServiceParameters.IMAGE_FORMAT.PNG); // map.addLayer(new ArcGISImageServiceLayer(url, isp));
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.