ReverseRouteCommands
Summary
Reverses the order of waypoints and their direction in a route.
Constructor
aeris.maps.gmaps.route.commands.ReverseRouteCommands
Syntax
aeris.maps.gmaps.route.commands.ReverseRouteCommands
(
-
route
-
opt_options
Summary
Parameters:
-
route
Route -
opt_options
Object=-
routeReverser
RouteReverser
-
Item Index
Properties
Methods
clearUndoState_
Syntax
clearUndoState_
()
private
Summary
Clear internal references to the pre-execution state of the route.
execute_
Syntax
execute_
()
Summary
getReverseWaypoints_
Syntax
Summary
Return waypoints in reverse order and direction.
saveUndoState_
Syntax
saveUndoState_
()
private
Summary
Save the pre-execution state of the route.
undo_
Syntax
undo_
()
Summary
Properties
route_
Syntax
Summary
The Route the Waypoint will be added to.
routeReverser_
Syntax
routeReverser_
aeris.gmaps.route.commands.helpers.RouteReverser
private
Summary
Helper object for reversing route waypoints.
waypointsOrig_
Syntax
waypointsOrig_
?Array.Summary
Waypoints state before command execution.