<?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 Re: &amp;quot;Map data not yet available&amp;quot; in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/amp-amp-quot-map-data-not-yet-available-amp-amp/m-p/628564#M4322</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The relevant code from the java file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
MapView map = null;

String baseMapURL = "http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer";
String dynamicMapURL = "http://gis.hicentral.com/arcgis/rest/services/OperPublicSafety/MapServer";

@Override
public void onCreate(Bundle savedInstanceState) {

&amp;nbsp; super.onCreate(savedInstanceState);
&amp;nbsp; setContentView(R.layout.floodzones);

&amp;nbsp; map = (MapView) findViewById(R.id.map);
&amp;nbsp; initextent = new Envelope(-17622457.3032347, 2439157.37937499, -17546524.1970318, 2457953.93517276);
&amp;nbsp; map.setExtent(initextent, 0);

&amp;nbsp; ArcGISTiledMapServiceLayer baseMap = new ArcGISTiledMapServiceLayer(baseMapURL);
&amp;nbsp; this.map.addLayer(baseMap);

&amp;nbsp; ArcGISDynamicMapServiceLayer dynamicLayer = new ArcGISDynamicMapServiceLayer(dynamicMapURL);
&amp;nbsp; this.map.addLayer(dynamicLayer);
&amp;nbsp; dynamicLayer.refresh();

}
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And from the layout xml:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;com.esri.android.map.MapView
&amp;nbsp; android:id="@+id/map" 
&amp;nbsp; android:layout_height="fill_parent"
&amp;nbsp; android:layout_width="fill_parent" 
&amp;nbsp; initExtent="-17622457.3032347 2439157.37937499 -17546524.1970318 2457953.93517276"&amp;gt;&amp;nbsp;&amp;nbsp; 
&amp;lt;/com.esri.android.map.MapView&amp;gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 02:45:56 GMT</pubDate>
    <dc:creator>KyleShimabukuro</dc:creator>
    <dc:date>2021-12-12T02:45:56Z</dc:date>
    <item>
      <title>&amp;amp;quot;Map data not yet available&amp;amp;quot;</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/amp-amp-quot-map-data-not-yet-available-amp-amp/m-p/628560#M4318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Aloha,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since updating my apps from the beta API to SDK 1.0.1, I've run into a few issues. I'll create separate threads for the sake of clarity.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The first issue is when opening the app, sometimes the basemap is unavailable and tiles that say "Map data not yet available" show up instead.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a video of the behavior:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://dl.dropbox.com/u/44596312/basemap%20not%20available.mp4"&gt;http://dl.dropbox.com/u/44596312/basemap%20not%20available.mp4&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't remember experiencing this with the beta API. Is there a way to address this with SDK 1.0.1?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mahalo!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2011 21:44:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/amp-amp-quot-map-data-not-yet-available-amp-amp/m-p/628560#M4318</guid>
      <dc:creator>KyleShimabukuro</dc:creator>
      <dc:date>2011-12-21T21:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: "Map data not yet available"</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/amp-amp-quot-map-data-not-yet-available-amp-amp/m-p/628561#M4319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Could you repost the video, its contents are not visible.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2011 16:56:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/amp-amp-quot-map-data-not-yet-available-amp-amp/m-p/628561#M4319</guid>
      <dc:creator>ArchanaAgarwal</dc:creator>
      <dc:date>2011-12-29T16:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: "Map data not yet available"</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/amp-amp-quot-map-data-not-yet-available-amp-amp/m-p/628562#M4320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please try right-clicking and saving the link as: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://dl.dropbox.com/u/44596312/basemap%20not%20available.mp4"&gt;http://dl.dropbox.com/u/44596312/basemap%20not%20available.mp4&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was just able to download and view the video again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2011 19:26:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/amp-amp-quot-map-data-not-yet-available-amp-amp/m-p/628562#M4320</guid>
      <dc:creator>KyleShimabukuro</dc:creator>
      <dc:date>2011-12-29T19:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: "Map data not yet available"</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/amp-amp-quot-map-data-not-yet-available-amp-amp/m-p/628563#M4321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You say that sometimes the map service basemap does show up.&amp;nbsp; Can you share the map service URL you are using and your java usage to connect to the service URL?&amp;nbsp;&amp;nbsp; Also share the initial extent if you are setting one either in Java or in XML.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2011 18:39:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/amp-amp-quot-map-data-not-yet-available-amp-amp/m-p/628563#M4321</guid>
      <dc:creator>DanO_Neill</dc:creator>
      <dc:date>2011-12-30T18:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: "Map data not yet available"</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/amp-amp-quot-map-data-not-yet-available-amp-amp/m-p/628564#M4322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The relevant code from the java file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
MapView map = null;

String baseMapURL = "http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer";
String dynamicMapURL = "http://gis.hicentral.com/arcgis/rest/services/OperPublicSafety/MapServer";

@Override
public void onCreate(Bundle savedInstanceState) {

&amp;nbsp; super.onCreate(savedInstanceState);
&amp;nbsp; setContentView(R.layout.floodzones);

&amp;nbsp; map = (MapView) findViewById(R.id.map);
&amp;nbsp; initextent = new Envelope(-17622457.3032347, 2439157.37937499, -17546524.1970318, 2457953.93517276);
&amp;nbsp; map.setExtent(initextent, 0);

&amp;nbsp; ArcGISTiledMapServiceLayer baseMap = new ArcGISTiledMapServiceLayer(baseMapURL);
&amp;nbsp; this.map.addLayer(baseMap);

&amp;nbsp; ArcGISDynamicMapServiceLayer dynamicLayer = new ArcGISDynamicMapServiceLayer(dynamicMapURL);
&amp;nbsp; this.map.addLayer(dynamicLayer);
&amp;nbsp; dynamicLayer.refresh();

}
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And from the layout xml:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;com.esri.android.map.MapView
&amp;nbsp; android:id="@+id/map" 
&amp;nbsp; android:layout_height="fill_parent"
&amp;nbsp; android:layout_width="fill_parent" 
&amp;nbsp; initExtent="-17622457.3032347 2439157.37937499 -17546524.1970318 2457953.93517276"&amp;gt;&amp;nbsp;&amp;nbsp; 
&amp;lt;/com.esri.android.map.MapView&amp;gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:45:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/amp-amp-quot-map-data-not-yet-available-amp-amp/m-p/628564#M4322</guid>
      <dc:creator>KyleShimabukuro</dc:creator>
      <dc:date>2021-12-12T02:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: "Map data not yet available"</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/amp-amp-quot-map-data-not-yet-available-amp-amp/m-p/628565#M4323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for sharing.&amp;nbsp; Your code seems to consistently work for me so I am not sure what is happening on your end, please refer to attached thumbnail.&amp;nbsp; Is your app more complex than this?&amp;nbsp; I am only adding the basemap and dynamicmap you provided so it is very simple.&amp;nbsp; I would suggest cleaning it up a bit by not setting the 'initextent' in Java since it is already set in your layout xml, although this is not an issue in rendering the service.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Dec 2011 00:21:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/amp-amp-quot-map-data-not-yet-available-amp-amp/m-p/628565#M4323</guid>
      <dc:creator>DanO_Neill</dc:creator>
      <dc:date>2011-12-31T00:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: "Map data not yet available"</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/amp-amp-quot-map-data-not-yet-available-amp-amp/m-p/628566#M4324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can check out the app here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://market.android.com/details?id=gov.honolulu.floodzones"&gt;https://market.android.com/details?id=gov.honolulu.floodzones&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This version is using an older release of the api. I'm basically trying to recompile the app using the new sdk and submit the update to the market.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure if you saw my other issue about enabling caching to the storage device (i.e. sd card), but that's pretty much the only thing holding me back from submitting the new apk. Any help with that would be great.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2012 16:10:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/amp-amp-quot-map-data-not-yet-available-amp-amp/m-p/628566#M4324</guid>
      <dc:creator>KyleShimabukuro</dc:creator>
      <dc:date>2012-01-03T16:10:11Z</dc:date>
    </item>
  </channel>
</rss>

