A url to a JSON file containing the stylesheet information used to render the layer. You may also pass an object containing the stylesheet information identical to the JSON file.
typeOptional
"VectorTileLayer"
Deprecated. User layerType instead.
itemIdOptionalInherited
string
Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal.
maxScaleOptionalInherited
number
Integer property used to determine the maximum scale at which the layer is displayed.
minScaleOptionalInherited
number
Integer property used to determine the minimum scale at which the layer is displayed.
nameOptionalInherited
string
Layer name
opacityOptionalInherited
number
The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.
showLegendOptionalInherited
boolean
Boolean property indicating whether to display in the legend.
titleOptionalInherited
string
A user-friendly string title for the layer that can be used in a table of contents.
urlOptionalInherited
string
The URL to the layer. Not applicable to all layer types.
visibilityOptionalInherited
boolean
Boolean property determining whether the layer is initially visible in the web map.