decide

fun decide(zoom: Double, waypointCount: Double, lastZoom: Int?, hasDisplayedFull: Boolean, hasDisplayedOutline: Boolean): MapDecision

Decide to load precise track (full) or only partial (outline)

Return

MapDecision( If outline is shown, If full track is shown, new zoom intensity)

Parameters

zoom

Zoom intensity

waypointCount

Number of potential visible waypoints

lastZoom

Last zoom intensity

hasDisplayedFull

If last update was a full update

hasDisplayedOutline

If last update was a outline update