主权项 |
1. A method for a route stabilization scrolling mode, the method comprising:
displaying, by one or more computer processors, a map window, wherein the map window includes a visible region of a map, the map including a plotted route originating at a source location and ending at a destination location; receiving, by one or more computer processors, one or more swipe gestures within the map window, wherein the one or more swipe gestures progress the visible region within the map window along the plotted route on the map; determining, by one or more computer processors, whether the one or more swipe gestures exceeds an escape velocity threshold, wherein the escape velocity threshold is a level of swipe intensity sufficient to progress the map window into an area of the map away from the plotted route; and responsive to a determination that the one or more swipe gestures exceeds the level of intensity to progress the map window into an area of the map away from the plotted route, generating, by one or more computer processors, one or more custom pegs, wherein the one or more custom pegs is a compressed snapshot of a last position on the plotted route prior to exceeding the escape velocity threshold. |