Skip to main content

ImageryLayer

Introduction

The ImageryLayer is used to display imagery data from ArcGIS Image Services on a map. It can be declared alone or with child components to customize its behavior:

import React from "react";
import { ImageryLayer, MapView } from "esrieact";

const IMAGERY_URL = "https://landsat.arcgis.com/arcgis/rest/services/Landsat/MS/ImageServer";

export const ReactMap: React.FC = () => {
return (
<MapView>
<ImageryLayer url={IMAGERY_URL} />
</MapView>
);
};

Props

Props extends ImageryLayer properties

children

Children components can be any of the following esrieact components:

events

Standard events on an __esri.Layer:

  "layerview-create": __esri.LayerLayerviewCreateEventHandler;
"layerview-create-error": __esri.LayerLayerviewCreateErrorEventHandler;
"layerview-destroy": __esri.LayerLayerviewDestroyEventHandler;