Optional$portalWhen present, mapping/_LayerExtension!LayerExtension.layer will be loaded from the given web layer in Portal. The web layer can be specified either as a PortalItem object, or simply using the portal item ID.
Optional$refA reference to an existing layer, which is the ID or title of the layer (or both). In this case, the layer extension will attempt to find an existing layer instead of creating one.
OptionalblendBlend modes are used to blend layers together to create an interesting effect in a layer, or even to produce what seems like a new layer.
OptionaldisableIndicates whether to allow a client to ignore popups defined by the service item.
OptionaleffectEffect provides various filter functions to achieve different visual effects similar to how image filters (photo apps) work.
OptionalidA unique identifying string for the layer.
OptionallayerA layerDefinition object defining the attribute schema and drawing information for the layer.
The type of layer.
OptionallistIndicates how the layer should display in the table of contents. The known values are listed below. See support/esri!ListMode.
OptionalmaxA number representing the maximum scale at which the layer will be visible. The number is the scale's denominator; thus, a value of 2400 represents a scale of 1/2,400. A value of 0 indicates that the layer will be visible no matter how far you zoom in.
OptionalminA number representing the minimum scale at which the layer will be visible. The number is the scale's denominator; thus, a value of 2400 represents a scale of 1/2,400.
OptionalopacityThe degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.
OptionalpopupA PopupInfo object defining the content of pop-up windows when you click or query a feature.
OptionalrefreshWhen the refresh interval is set on a layer, the client must refresh that layer only, not the entire web map. The default value is '0', meaning the no refresh. You can enable a refresh interval on the following types of layers: ArcGIS Server web service, hosted feature layer, hosted tile layer, OGC WMS, OGS WMTS, tile layer, GeoRSS, Living Atlas layers, basemaps (including Bing Maps basemaps), CSV from the web with latitude and longitude fields, and KML when added to ArcGIS Online through the My Content page. See https://doc.arcgis.com/en/arcgis-online/create-maps/set-refresh-interval.htm.
OptionalshowIndicates whether to allow map authors the ability to control what layers should be shown in a client's legend.
OptionaltitleA user-friendly title for the layer that can be used in a table of contents. If this is not included, then a title is derived from the service.
Optionaltype(Deprecated, use layerType instead.) If the layer is referenced through a URL, but is not an ArcGIS web service, then this parameter can be supplied to denote the layer type.
OptionalurlURL to the ArcGIS Server Image Service.
OptionalvisibilityDetermines whether the layer is initially visible in the web map.
OptionalvisibilityRepresents time extent that will control when a layer should be visible based on webmap's current time. Visibility time extent only affects the layer visibility and will not filter the data.
Properties for a PointCloudLayer that can be passed into the constructor for PointCloudLayerExtension.