Skip to content

Commit

Permalink
Disable empty info windows on the report map
Browse files Browse the repository at this point in the history
  • Loading branch information
mjaakko committed Dec 1, 2023
1 parent bc0f76b commit 70f75ee
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ fun ReportMap() {
polygon.fillPaint.color = color
polygon.outlinePaint.color = color
polygon.outlinePaint.strokeWidth = 5f
//Return with click listener to disable info window
polygon.setOnClickListener { _, _, _ -> false }

polygon.points = listOf(
GeoPoint(it.latitude.toDouble(), it.longitude.toDouble()),
Expand Down

0 comments on commit 70f75ee

Please sign in to comment.