WmsLayer.withItem constructor

WmsLayer.withItem(
  1. Item item
)

Creates a WMS layer from a portal item.

Parameters: