clone Method

Create a copy of this BackgroundMapSettings, optionally modifying some of its properties.

clone(changedProps?: BackgroundMapProps): BackgroundMapSettings

note If changing the provider it is currently necessary to also make same change to update the imagery base layer.

Parameter Type Description
changedProps BackgroundMapProps JSON representation of the properties to change.

Returns - BackgroundMapSettings

A BackgroundMapSettings with all of its properties set to match those of this, except those explicitly defined in changedProps.

Defined in

Last Updated: 12 June, 2024