ArcGIS map image layer

View inWPFUWPFormsiOSAndroid
View on GitHub

Add an ArcGIS Map Image Layer from a URL to a map.

screenshot

Use case

ArcGISMapImageLayer instances are rendered server side as a single raster image, so they always show the latest data at the time of the request. Since the data is rendered as a single image, it can have performance benefits versus a feature layer with complex geometries.

How it works

  1. Create a new Map and set it to a MapView.
  2. Create a new ArcGISMapImageLayer with an input URL.
  3. Add the layer to the map.

Relevant API

  • Map
  • ArcGISMapImageLayer
  • MapView

Tags

ArcGIS dynamic map service layer, ArcGISMapImageLayer, layers

Sample Code

ArcGISMapImageLayerUrl.xamlArcGISMapImageLayerUrl.xaml.cs
             
1
2
3
4
5
6
7
8
9
10
11
12
13
<UserControl
    x:Class="ArcGISRuntime.UWP.Samples.ArcGISMapImageLayerUrl.ArcGISMapImageLayerUrl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:esriUI="using:Esri.ArcGISRuntime.UI.Controls"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <esriUI:MapView x:Name="MyMapView"/>
    </Grid>
</UserControl>

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.