<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ArcGIS 10.2.3 + USGS National Map endpoints in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/arcgis-10-2-3-usgs-national-map-endpoints/m-p/658814#M4542</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to use ArcGIS with the USGS &lt;/SPAN&gt;&lt;A href="http://viewer.nationalmap.gov/example/services/serviceList.html" rel="nofollow noopener noreferrer" target="_blank"&gt;National Map service endpoints&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; I got it to work with the topo base map primary tile cache (the first endpoint on the list) but can't figure out how to use the below-18K base map (second on the list).&amp;nbsp; I'm not seeing any errors, just blank grids or a solid black map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What am I doing wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
 // 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));
&amp;nbsp; 
 // this doesn't work.&amp;nbsp; no error, just a blank grid.
// final String url = "http://services.nationalmap.gov/ArcGIS/services/USGSTopoLarge/MapServer/WMSServer";
// map.addLayer(new WMSLayer(url));
&amp;nbsp; 
 // blank grid here too.
// final String url = "http://services.nationalmap.gov/ArcGIS/rest/services/USGSTopoLarge/MapServer";
// map.addLayer(new ArcGISDynamicMapServiceLayer(url));
&amp;nbsp; 
 // black screen this time.
// final String url = "http://services.nationalmap.gov/ArcGIS/rest/services/USGSTopoLarge/MapServer";
// map.addLayer(new ArcGISImageServiceLayer(url, new ImageServiceParameters()));
&amp;nbsp; 
 // 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));
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 03:52:42 GMT</pubDate>
    <dc:creator>KevinKrumwiede</dc:creator>
    <dc:date>2021-12-12T03:52:42Z</dc:date>
    <item>
      <title>ArcGIS 10.2.3 + USGS National Map endpoints</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/arcgis-10-2-3-usgs-national-map-endpoints/m-p/658814#M4542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to use ArcGIS with the USGS &lt;/SPAN&gt;&lt;A href="http://viewer.nationalmap.gov/example/services/serviceList.html" rel="nofollow noopener noreferrer" target="_blank"&gt;National Map service endpoints&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; I got it to work with the topo base map primary tile cache (the first endpoint on the list) but can't figure out how to use the below-18K base map (second on the list).&amp;nbsp; I'm not seeing any errors, just blank grids or a solid black map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What am I doing wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
 // 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));
&amp;nbsp; 
 // this doesn't work.&amp;nbsp; no error, just a blank grid.
// final String url = "http://services.nationalmap.gov/ArcGIS/services/USGSTopoLarge/MapServer/WMSServer";
// map.addLayer(new WMSLayer(url));
&amp;nbsp; 
 // blank grid here too.
// final String url = "http://services.nationalmap.gov/ArcGIS/rest/services/USGSTopoLarge/MapServer";
// map.addLayer(new ArcGISDynamicMapServiceLayer(url));
&amp;nbsp; 
 // black screen this time.
// final String url = "http://services.nationalmap.gov/ArcGIS/rest/services/USGSTopoLarge/MapServer";
// map.addLayer(new ArcGISImageServiceLayer(url, new ImageServiceParameters()));
&amp;nbsp; 
 // 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));
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:52:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/arcgis-10-2-3-usgs-national-map-endpoints/m-p/658814#M4542</guid>
      <dc:creator>KevinKrumwiede</dc:creator>
      <dc:date>2021-12-12T03:52:42Z</dc:date>
    </item>
  </channel>
</rss>

