OrientedImageryLayer.withPortalItem constructor

OrientedImageryLayer.withPortalItem(
  1. PortalItem portalItem, {
  2. required int layerId,
})

Creates a new oriented imagery layer object from a feature service portal item.

Parameters:

  • portalItem — The feature service PortalItem.
  • layerId — The layer id for which to create the layer.