onSegmentSelected

Called when a waypath segment is selected, and adjusting the map camera

Parameters

segment

The segment that was selected.


abstract fun onSegmentSelected(segment: WaypathSegment, adjustsCamera: Boolean)

Called when a waypath segment is selected.

Parameters

segment

The segment that was selected.

adjustsCamera

Auto-adjust the map camera to target the selected segment