<?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: Can't load an Image Service from my arcgis Server in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/can-t-load-an-image-service-from-my-arcgis-server/m-p/1059272#M10111</link>
    <description>&lt;P&gt;Thanks! This worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;var aerialImageUri = new Uri("https:/*****/intgis3/rest/services/Aerials/LatestAerialsImg/ImageServer");
ImageServiceRaster misr = new ImageServiceRaster(aerialImageUri);
RasterLayer rl = new RasterLayer(misr);
myMapCreate.OperationalLayers.Add(rl);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 19 May 2021 01:56:11 GMT</pubDate>
    <dc:creator>MichaelKohler</dc:creator>
    <dc:date>2021-05-19T01:56:11Z</dc:date>
    <item>
      <title>Can't load an Image Service from my arcgis Server</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/can-t-load-an-image-service-from-my-arcgis-server/m-p/1059170#M10104</link>
      <description>&lt;P&gt;I have an aerial image and made a tiled map service and an Image service. I use the two layers to let user zoom in really tight with the Image Service and when zoomed out, I use the tiled map service. This works for all my java script and other apps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I went to add the functionality to a Runtime app, I can't get the Image Service to show. The Tiled Map Service has always worked fine in the Runtime app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;//add the city's latest aerial
                var latestAerialUri = new Uri("https:///intgis3/rest/services/Aerials/LatestAerials/MapServer");
                latestAerialLayer = new ArcGISTiledLayer(latestAerialUri);
                myMapCreate.Basemap.BaseLayers.Clear();
                myMapCreate.Basemap.ReferenceLayers.Clear();
                myMapCreate.Basemap.BaseLayers.Add(latestAerialLayer);

                //add the image service layer
                var aerialImageUri = new Uri("https://intgis3/rest/services/Aerials/LatestAerialsImg/ImageServer");
                aerialImageLayer = new ArcGISMapImageLayer(aerialImageUri);                
                myMapCreate.Basemap.BaseLayers.Add(aerialImageLayer);
              &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the Runtime Version being used is 100.2.1.0.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 01:42:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/can-t-load-an-image-service-from-my-arcgis-server/m-p/1059170#M10104</guid>
      <dc:creator>MichaelKohler</dc:creator>
      <dc:date>2021-05-19T01:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can't load an Image Service from my arcgis Server</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/can-t-load-an-image-service-from-my-arcgis-server/m-p/1059201#M10107</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;To create a layer from an&amp;nbsp; `ImageServer` endpoint, you should use the RasterLayer and ImageServiceRaster classes.&lt;/P&gt;&lt;P&gt;Resources:&lt;BR /&gt;-&amp;nbsp;&lt;A href="https://developers.arcgis.com/net/wpf/api-reference/html/T_Esri_ArcGISRuntime_Mapping_RasterLayer.htm" target="_blank"&gt;https://developers.arcgis.com/net/wpf/api-reference/html/T_Esri_ArcGISRuntime_Mapping_RasterLayer.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&lt;A href="https://developers.arcgis.com/net/wpf/sample-code/raster-layer-service/" target="_blank"&gt;https://developers.arcgis.com/net/wpf/sample-code/raster-layer-service/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 21:50:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/can-t-load-an-image-service-from-my-arcgis-server/m-p/1059201#M10107</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2021-05-18T21:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can't load an Image Service from my arcgis Server</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/can-t-load-an-image-service-from-my-arcgis-server/m-p/1059272#M10111</link>
      <description>&lt;P&gt;Thanks! This worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;var aerialImageUri = new Uri("https:/*****/intgis3/rest/services/Aerials/LatestAerialsImg/ImageServer");
ImageServiceRaster misr = new ImageServiceRaster(aerialImageUri);
RasterLayer rl = new RasterLayer(misr);
myMapCreate.OperationalLayers.Add(rl);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 01:56:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/can-t-load-an-image-service-from-my-arcgis-server/m-p/1059272#M10111</guid>
      <dc:creator>MichaelKohler</dc:creator>
      <dc:date>2021-05-19T01:56:11Z</dc:date>
    </item>
  </channel>
</rss>

