Disable the polyline's infowindow in mapfragment.
This commit is contained in:
parent
3a4ae9d723
commit
7788352286
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue