regionSwitchedAt

Creates a new cartographic boundary with the region at the specified index switched off (deactivated). Deactivated regions will be excluded from the final map visualization.

This method uses the switch() method (see documentation for details) to deactivate the region.

Return

A new cartographic boundary with the specified region switched off.

Parameters

index

The index of the region to be switched off.