ResetRouteCommand
Summary
Replaces all waypoints in a route with new ones.
Constructor
aeris.maps.gmaps.route.commands.ResetRouteCommand
Syntax
aeris.maps.gmaps.route.commands.ResetRouteCommand
(
-
opt_waypoints
-
opt_refresh
Summary
Item Index
Methods
Properties
Methods
execute_
Syntax
execute_
()
Summary
execute_
Syntax
execute_
()
Summary
undo_
Syntax
undo_
()
Summary
Properties
index_
Syntax
Summary
Index of the removed waypoint. Saved so that we can undo, and put it back in the right place.
newLatLon_
Syntax
newLatLon_
Array.Summary
The latLon to move to.
originalLatLon_
Syntax
originalLatLon_
Array.Summary
The original latLon of the waypoint, for purposes of undoing.
route_
Syntax
Summary
The Route the Waypoint will be added to.
waypoint_
Syntax
Summary
The waypoint we're moving.
waypoint_
Syntax
Summary
The Waypoint being added to the Route.