label Polygon
open override fun labelPolygon(polygon: MPINavigatable.MPIPolygon, options: MPIOptions.Label)
Content copied to clipboard
Sets a label for MPINavigatable.MPIPolygon
Return
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)
Content copied to clipboard
Sets a label for MPINavigatable.MPIPolygon
Return
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)
Content copied to clipboard
Sets a legacy label for MPINavigatable.MPIPolygon
Return
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)
Content copied to clipboard
Sets a legacy label for MPINavigatable.MPIPolygon
Return
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