addInteractivePolygon

abstract fun addInteractivePolygon(polygon: MPINavigatable.MPIPolygon)

Adds an interactive polygon (allows it to be clickable)

  • Note: usually, polygons with locations attached to them are set to be interactive by default. However, certain polygons might not be. Use this function if you want to set certain polygons to be interactive.

Return

Unit

Parameters

polygon

The MPINavigatable.MPIPolygon to make interactive


abstract fun addInteractivePolygon(polygonId: String)

Adds an interactive polygon (allows it to be clickable)

Return

Unit

Parameters

polygonId

The id of the polygon to make interactive