Get started with MapImageLayer

This device does not support 3D.

View the system requirements for more information.

This sample shows how add an instance of MapImageLayer to a Map in a SceneView. The MapImageLayer used in this map has two sublayers - one showing lots with pool permits and one depicting lots that don't have pool permits.

// This layer has two sublayers - one showing lots with pool permits
// and one depicting lots that don't have pool permits
var permitsLyr = new MapImageLayer({
  portalItem: {
    id: "d7892b3c13b44391992ecd42bfa92d01"
  }
});

/*****************************************************************
 * Add the layer to a map
 *****************************************************************/
var map = new Map({
  basemap: "dark-gray",
  layers: [permitsLyr]
});

Sample search results

TitleSample

There were no match results from your search criteria.