Initialize track_points_overlay disabled when zoomed out.
This commit is contained in:
parent
85d32aff22
commit
a566e80ebf
1 changed files with 1 additions and 0 deletions
|
@ -371,6 +371,7 @@ class TrackFragment : Fragment(), MapListener, YesNoDialog.YesNoDialogListener
|
|||
.setCellSize(12)
|
||||
track_points_overlay = SimpleFastPointOverlay(pointTheme, overlayOptions)
|
||||
mapView.overlays.add(track_points_overlay)
|
||||
track_points_overlay!!.isEnabled = mapView.zoomLevel >= 16
|
||||
|
||||
track_points_overlay!!.setOnClickListener(object : SimpleFastPointOverlay.OnClickListener {
|
||||
override fun onClick(points: SimpleFastPointOverlay.PointAdapter?, point: Int?)
|
||||
|
|
Loading…
Reference in a new issue