ArcGIS map image layer
Add an ArcGIS Map Image Layer from a URL to a map.
Map image layers are also referred to as dynamic map services. These services generate images dynamically on the server and send the resulting image to the requesting client. This is useful when rendering complex cartography or large amounts of data in a connected environment, as the client simply displays the image that the server returns. This can result in more accurate and faster-performing layers.
How to use the sample
Run the sample and view the map image layer. As you navigate the map, the layer issues image requests for the new map extent. The resulting images are rendered on the screen.
How it works
- Create a
- Create an
ArcGISMapImageLayerwith the URL to a map image service.
- Add it to the map's operational layers collection.
display, image, layer, map
<UserControl x:Class="ArcGIS.WPF.Samples.ArcGISMapImageLayerUrl.ArcGISMapImageLayerUrl" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:esri="http://schemas.esri.com/arcgis/runtime/2013" xmlns:mapping="clr-namespace:Esri.ArcGISRuntime.Mapping;assembly=Esri.ArcGISRuntime"> <Grid> <esri:MapView x:Name="MyMapView"> <mapping:Map /> </esri:MapView> </Grid> </UserControl>