addInteractivePolygon

open override 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

void

Parameters

polygon

The MPINavigatable.MPIPolygon to make interactive

open override fun addInteractivePolygon(polygonId: String)

Adds an interactive polygon (allows it to be clickable)

Return

void

Parameters

polygonId

The id of the polygon to make interactive