labelPolygon

open override fun labelPolygon(polygon: MPINavigatable.MPIPolygon, options: MPIOptions.Label)

Sets a label for MPINavigatable.MPIPolygon

Return

Unit

Parameters

polygon

The MPINavigatable.MPIPolygon to set the label

options

Provides the options MPIOptions.Label to customize how the label is

open override fun labelPolygon(polygonId: String, options: MPIOptions.Label)

Sets a label for MPINavigatable.MPIPolygon

Return

Unit

Parameters

polygonId

The id of the MPINavigatable.MPIPolygon to set the label

options

Provides the options MPIOptions.Label to customize how the label is

open override fun labelPolygon(polygon: MPINavigatable.MPIPolygon, options: MPIOptions.LegacyLabel)

Sets a legacy label for MPINavigatable.MPIPolygon

Return

Unit

Parameters

polygon

The MPINavigatable.MPIPolygon to set the legacy label

options

Provides the options MPIOptions.LegacyLabel to customize how the legacy label is

open override fun labelPolygon(polygonId: String, options: MPIOptions.LegacyLabel)

Sets a legacy label for MPINavigatable.MPIPolygon

Return

Unit

Parameters

polygonId

The id of the MPINavigatable.MPIPolygon to set the legacy label

options

Provides the options MPIOptions.LegacyLabel to customize how the legacy label is