ArcGIS map image layer

View inMAUIUWPWPFWinUIView 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.xamlArcGISMapImageLayerUrl.xaml.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
<UserControl
    x:Class="ArcGIS.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.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close