Disable the polyline's infowindow in mapfragment.

This commit is contained in:
voussoir 2023-04-02 12:29:06 -07:00
parent 3a4ae9d723
commit 7788352286

View file

@ -477,6 +477,7 @@ class MapFragment : Fragment()
val pl = Polyline(mapView) val pl = Polyline(mapView)
pl.outlinePaint.strokeWidth = Keys.POLYLINE_THICKNESS pl.outlinePaint.strokeWidth = Keys.POLYLINE_THICKNESS
pl.outlinePaint.color = requireContext().getColor(R.color.fuchsia) pl.outlinePaint.color = requireContext().getColor(R.color.fuchsia)
pl.infoWindow = null
mapView.overlays.add(pl) mapView.overlays.add(pl)
current_track_overlay = pl current_track_overlay = pl
} }