A number representing the maximum scale at which the layer will be visible. The number is the scale's denominator.
minScaleOptional
any
A number representing the minimum scale at which the layer will be visible. The number is the scale's denominator.
opacityOptional
any
The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.
refreshIntervalOptional
any
Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled.
showLegendOptional
any
Indicates whether to allow map authors the ability to control what layers should be shown in a client's legend.
titleOptional
any
A user-friendly string title for the layer that can be used in a table of contents.
typeOptional
"KML"
visibleFoldersOptional
number[] | number
Array of numeric IDs of folders that will be made visible.
itemIdOptionalInherited
string
Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal.
nameOptionalInherited
string
Layer name
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.