<?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: Displaying an ArcGISMapImageLayer in Kotlin in Kotlin Maps SDK Questions</title>
    <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/displaying-an-arcgismapimagelayer-in-kotlin/m-p/1310659#M137</link>
    <description>&lt;P&gt;Code does work if i pull in an ESRI public map server layer.&amp;nbsp; I am going to close this ticket as answered.&amp;nbsp; I believe my issue is with the dev server I'm attempting to pull the map layer from.&amp;nbsp; I'll create another thread for that.&amp;nbsp; Thank you all for the help on this matter.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jul 2023 19:29:20 GMT</pubDate>
    <dc:creator>klebercj</dc:creator>
    <dc:date>2023-07-21T19:29:20Z</dc:date>
    <item>
      <title>Displaying an ArcGISMapImageLayer in Kotlin</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/displaying-an-arcgismapimagelayer-in-kotlin/m-p/1309836#M129</link>
      <description>&lt;P&gt;I'm very new to programming in general so I apologize for such a basic question.&amp;nbsp; My office would like me to &amp;nbsp; I&amp;nbsp; create an android app that places a map server layer (operational layer) on top of a satellite image base layer.&amp;nbsp; I see examples for adding feature layers and web maps with portal IDs.&amp;nbsp; But not layers from a map server. &amp;nbsp; If&amp;nbsp; I could get a piece of sample code I would be most appreciative.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2023 22:41:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/displaying-an-arcgismapimagelayer-in-kotlin/m-p/1309836#M129</guid>
      <dc:creator>klebercj</dc:creator>
      <dc:date>2023-07-19T22:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying an ArcGISMapImageLayer in Kotlin</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/displaying-an-arcgismapimagelayer-in-kotlin/m-p/1309846#M130</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We have a kotlin sample, that adds operational layers(ArcGISMapImageLayer) from the map server to the map with&amp;nbsp;ArcGIS Topographic basemap, which in your case would be ArcGIS Imagery basemap.&lt;BR /&gt;&lt;A href="https://github.com/Esri/arcgis-runtime-samples-android/tree/main/kotlin/manage-operational-layers" target="_blank"&gt;https://github.com/Esri/arcgis-runtime-samples-android/tree/main/kotlin/manage-operational-layers&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2023 22:58:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/displaying-an-arcgismapimagelayer-in-kotlin/m-p/1309846#M130</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2023-07-19T22:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying an ArcGISMapImageLayer in Kotlin</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/displaying-an-arcgismapimagelayer-in-kotlin/m-p/1310041#M133</link>
      <description>&lt;P&gt;Thank you for showing me this.&amp;nbsp; I'll give it a try.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 14:24:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/displaying-an-arcgismapimagelayer-in-kotlin/m-p/1310041#M133</guid>
      <dc:creator>klebercj</dc:creator>
      <dc:date>2023-07-20T14:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying an ArcGISMapImageLayer in Kotlin</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/displaying-an-arcgismapimagelayer-in-kotlin/m-p/1310265#M134</link>
      <description>&lt;P&gt;I wasn't able to get the map server layer to show up.&amp;nbsp; I looked at the sample in GitHub and came up with the following.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is from the MainActivity file.&amp;nbsp; Any help would be appreciated.&lt;/P&gt;&lt;P&gt;private fun setupMap() {&lt;/P&gt;&lt;P&gt;// create a map with the BasemapStyle topographic&lt;BR /&gt;val map = ArcGISMap(BasemapStyle.ArcGISImagery)&lt;/P&gt;&lt;P&gt;// Create an instance of the MapImageLayer and set its URL&lt;BR /&gt;val mapImageLayer =&lt;BR /&gt;ArcGISMapImageLayer("Map Server URL")&lt;/P&gt;&lt;P&gt;// Add the MapImageLayer to the map&lt;BR /&gt;map.operationalLayers.add(mapImageLayer)&lt;/P&gt;&lt;P&gt;// set the viewpoint, Viewpoint(latitude, longitude, scale)&lt;BR /&gt;mapView.setViewpoint(Viewpoint(xxxxxx, xxxxxx, 420000.0))&lt;/P&gt;&lt;P&gt;mapView.map = map&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 22:52:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/displaying-an-arcgismapimagelayer-in-kotlin/m-p/1310265#M134</guid>
      <dc:creator>klebercj</dc:creator>
      <dc:date>2023-07-20T22:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying an ArcGISMapImageLayer in Kotlin</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/displaying-an-arcgismapimagelayer-in-kotlin/m-p/1310630#M136</link>
      <description>&lt;P&gt;If the MAP Server URL you are using, has the layers within it, then you should be able to see those layers, as the code looks fine to me.&lt;BR /&gt;once you added the layer to the map operational layer, and assigned the map to mapview,&lt;/P&gt;&lt;P&gt;could you also check if you get the layer back using&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;val &lt;/SPAN&gt;operationalLayers = &lt;SPAN&gt;mapView&lt;/SPAN&gt;.&lt;SPAN&gt;map&lt;/SPAN&gt;.&lt;SPAN&gt;operationalLayers&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;do you see&amp;nbsp; any layers under&amp;nbsp;operationalLayers var above?&lt;BR /&gt;&lt;BR /&gt;also, it could be the layer is displaying somewhere on the map, but the viewpoint you're trying to view the layer at is incorrect?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 18:38:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/displaying-an-arcgismapimagelayer-in-kotlin/m-p/1310630#M136</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2023-07-21T18:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying an ArcGISMapImageLayer in Kotlin</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/displaying-an-arcgismapimagelayer-in-kotlin/m-p/1310659#M137</link>
      <description>&lt;P&gt;Code does work if i pull in an ESRI public map server layer.&amp;nbsp; I am going to close this ticket as answered.&amp;nbsp; I believe my issue is with the dev server I'm attempting to pull the map layer from.&amp;nbsp; I'll create another thread for that.&amp;nbsp; Thank you all for the help on this matter.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 19:29:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/displaying-an-arcgismapimagelayer-in-kotlin/m-p/1310659#M137</guid>
      <dc:creator>klebercj</dc:creator>
      <dc:date>2023-07-21T19:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying an ArcGISMapImageLayer in Kotlin</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/displaying-an-arcgismapimagelayer-in-kotlin/m-p/1311994#M168</link>
      <description>&lt;P&gt;For record keeping: 7/21/23 post by Anonymous User belongs to&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/483642"&gt;@PriyankaRupani&lt;/a&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 13:58:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/displaying-an-arcgismapimagelayer-in-kotlin/m-p/1311994#M168</guid>
      <dc:creator>JesseCloutier</dc:creator>
      <dc:date>2023-07-26T13:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying an ArcGISMapImageLayer in Kotlin</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/displaying-an-arcgismapimagelayer-in-kotlin/m-p/1311995#M169</link>
      <description>&lt;P&gt;For record keeping: 7/19/23 post by Anonymous User belongs to&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/483642"&gt;@PriyankaRupani&lt;/a&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 13:58:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/displaying-an-arcgismapimagelayer-in-kotlin/m-p/1311995#M169</guid>
      <dc:creator>JesseCloutier</dc:creator>
      <dc:date>2023-07-26T13:58:46Z</dc:date>
    </item>
  </channel>
</rss>

