labelPolygon

abstract fun labelPolygon(polygonId: String, options: MPIOptions.FloatingLabel)

Sets a floating label for MPINavigatable.MPIPolygon

Return

Unit

Parameters

polygonId

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

options

Provides the options MPIOptions.FloatingLabel to customize how the floating label is

abstract fun labelPolygon(polygon: MPINavigatable.MPIPolygon, options: MPIOptions.FloatingLabel)

Sets a floating label for MPINavigatable.MPIPolygon

Return

Unit

Parameters

polygon

The MPINavigatable.MPIPolygon to set the floating label

options

Provides the options MPIOptions.FloatingLabel to customize how the floating label is

abstract fun labelPolygon(polygonId: String, options: MPIOptions.FlatLabel)

Sets a flat label for MPINavigatable.MPIPolygon

Return

Unit

Parameters

polygonId

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

options

Provides the options MPIOptions.FlatLabel to customize how the flat label is

abstract fun labelPolygon(polygon: MPINavigatable.MPIPolygon, options: MPIOptions.FlatLabel)

Sets a flat label for MPINavigatable.MPIPolygon

Return

Unit

Parameters

polygon

The MPINavigatable.MPIPolygon to set the flat label

options

Provides the options MPIOptions.FlatLabel to customize how the flat label is