<?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 Don't understand why my layer doesn't show on the map in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/don-t-understand-why-my-layer-doesn-t-show-on-the/m-p/36455#M304</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I new to the ArcGIS Android SDK, for a school project within my university I have to show some open data from my city on a map. All the data are from an ArcGIS Services directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have followed this tutorial : &lt;A href="https://developers.arcgis.com/android/guide/access-feature-data-in-the-cloud.htm" title="https://developers.arcgis.com/android/guide/access-feature-data-in-the-cloud.htm"&gt;Access feature data in the cloud—ArcGIS Runtime SDK for Android | ArcGIS for Developers&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I just want to change the featureServiceURL of the data (I don't even use the query option menu).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the data I want to use (there are two URLs but they both contain the same data) :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://ge.ch/ags1/rest/services/Mobilite_general/MapServer/12" title="http://ge.ch/ags1/rest/services/Mobilite_general/MapServer/12"&gt;Places handicapés - Mobilite_general&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://ge.ch/ags1/rest/services/open_data/vector_layers/MapServer/317" title="http://ge.ch/ags1/rest/services/open_data/vector_layers/MapServer/317"&gt;OTC_PLACE_HANDICAPE - open_data/vector_layers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me, I really don't understand why the data doesn't appear on the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Apr 2015 12:57:57 GMT</pubDate>
    <dc:creator>ArnaudGerosa</dc:creator>
    <dc:date>2015-04-15T12:57:57Z</dc:date>
    <item>
      <title>Don't understand why my layer doesn't show on the map</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/don-t-understand-why-my-layer-doesn-t-show-on-the/m-p/36455#M304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I new to the ArcGIS Android SDK, for a school project within my university I have to show some open data from my city on a map. All the data are from an ArcGIS Services directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have followed this tutorial : &lt;A href="https://developers.arcgis.com/android/guide/access-feature-data-in-the-cloud.htm" title="https://developers.arcgis.com/android/guide/access-feature-data-in-the-cloud.htm"&gt;Access feature data in the cloud—ArcGIS Runtime SDK for Android | ArcGIS for Developers&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I just want to change the featureServiceURL of the data (I don't even use the query option menu).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the data I want to use (there are two URLs but they both contain the same data) :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://ge.ch/ags1/rest/services/Mobilite_general/MapServer/12" title="http://ge.ch/ags1/rest/services/Mobilite_general/MapServer/12"&gt;Places handicapés - Mobilite_general&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://ge.ch/ags1/rest/services/open_data/vector_layers/MapServer/317" title="http://ge.ch/ags1/rest/services/open_data/vector_layers/MapServer/317"&gt;OTC_PLACE_HANDICAPE - open_data/vector_layers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me, I really don't understand why the data doesn't appear on the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 12:57:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/don-t-understand-why-my-layer-doesn-t-show-on-the/m-p/36455#M304</guid>
      <dc:creator>ArnaudGerosa</dc:creator>
      <dc:date>2015-04-15T12:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Don't understand why my layer doesn't show on the map</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/don-t-understand-why-my-layer-doesn-t-show-on-the/m-p/36456#M305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arnaud,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tutorial you referenced creates an ArcGISFeatureLayer from a feature service. The services you posted links to are map services. These two types of service are different things, and require a different type of layer class. You can check in the onStatusChanged callback e.g.:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;&amp;nbsp; public void &lt;/SPAN&gt;onStatusChanged(Object source, STATUS status) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if &lt;/SPAN&gt;((&lt;SPAN style="background-color: #e4e4ff;"&gt;source&lt;/SPAN&gt; &lt;SPAN style="color: #000080; font-weight: bold;"&gt;instanceof &lt;/SPAN&gt;ArcGISFeatureLayer) &amp;amp;&amp;amp; (status == STATUS.&lt;SPAN style="color: #660e7a; font-weight: bold; font-style: italic;"&gt;LAYER_LOADING_FAILED&lt;/SPAN&gt;)) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Log.&lt;SPAN style="font-style: italic;"&gt;e&lt;/SPAN&gt;(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;"Layer"&lt;/SPAN&gt;, &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"LAYER_LOADING_FAILED"&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, you can still easily add your services to your map using the correct class - you should find the answers you are looking for in these help topics:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/android/guide/maps-and-layers.htm" title="https://developers.arcgis.com/android/guide/maps-and-layers.htm"&gt;Maps and layers—ArcGIS Runtime SDK for Android | ArcGIS for Developers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/android/guide/layer-types.htm" title="https://developers.arcgis.com/android/guide/layer-types.htm"&gt;Layer types—ArcGIS Runtime SDK for Android | ArcGIS for Developers&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Shelly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 10:17:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/don-t-understand-why-my-layer-doesn-t-show-on-the/m-p/36456#M305</guid>
      <dc:creator>ShellyGill1</dc:creator>
      <dc:date>2015-04-21T10:17:53Z</dc:date>
    </item>
  </channel>
</rss>

