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.
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.
- 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
<?xml version="1.0" encoding="utf-8" ?> <ContentPage x:Class="ArcGISRuntime.Samples.ArcGISMapImageLayerUrl.ArcGISMapImageLayerUrl" xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:esriUI="clr-namespace:Esri.ArcGISRuntime.Xamarin.Forms;assembly=Esri.ArcGISRuntime.Xamarin.Forms" xmlns:mapping="clr-namespace:Esri.ArcGISRuntime.Mapping;assembly=Esri.ArcGISRuntime"> <Grid> <esriUI:MapView x:Name="MyMapView"> <mapping:Map /> </esriUI:MapView> </Grid> </ContentPage>