Commit b92e7ab
Following changes done :
1. Click anywhere on the map: (current behavior, no change)
1.1 If there is no active mark on the map, place a pin/marker on the
map to show the current selected location.
1.2 If there is an active mark on the map, move the current marker
to the new location. (Remove the current pin and place one on new
location)
2. Button “Waypoints”: (changes)
2.1 If the waypoint list is not empty, it shall toggle the state of
showing a list of waypoints and hide the list.
2.2 If the list is empty, shall show an error message or show an
empty list or get disabled.
3. Button “Add WayPoint”: (changes)
3.1 If there is a selected location (active mark), add the location
to the waypoints list and show the waypoint list so that the user
knows it (also send onWayPointChange Notification if needed).
3.2 If there is no active mark on the map, show a message ask user
to place a mark on the map first before click the button.
4. Button “Clear”: clear all marks on the map. (new button)
5. Button “Start Animation”/”Stop Animation”: start/stop animation.
(current behavior, no change)
6. Button “Navigate”:
6.1 If there is a selected location, set it as the destination (new
last waypoint). Calculate and show the route.
6.2 If there is no selected location, (changes) and
6.2.1 If the waypoint is not empty, set the last waypoint as
destination, calculate and show the route.
6.2.2 If the waypoint is empty, show a message ask user to set a
destination.
7. “Places” button. – not used.
8. Need to change the inscription "Please select a WayPoint" to "Please
select a place on the map".1 parent 20b40c6 commit b92e7ab
File tree
3 files changed
+59
-31
lines changed- app
- controller
- view
- css
3 files changed
+59
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
690 | 690 | | |
691 | 691 | | |
692 | 692 | | |
693 | | - | |
| 693 | + | |
694 | 694 | | |
695 | 695 | | |
696 | 696 | | |
697 | | - | |
698 | | - | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
703 | 714 | | |
704 | 715 | | |
705 | 716 | | |
| |||
938 | 949 | | |
939 | 950 | | |
940 | 951 | | |
941 | | - | |
| 952 | + | |
942 | 953 | | |
943 | 954 | | |
944 | | - | |
| 955 | + | |
945 | 956 | | |
946 | | - | |
| 957 | + | |
947 | 958 | | |
948 | 959 | | |
949 | 960 | | |
950 | | - | |
951 | | - | |
952 | | - | |
953 | | - | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
954 | 973 | | |
955 | 974 | | |
956 | 975 | | |
957 | 976 | | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
958 | 983 | | |
959 | 984 | | |
960 | 985 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
149 | 152 | | |
150 | 153 | | |
151 | 154 | | |
| |||
165 | 168 | | |
166 | 169 | | |
167 | 170 | | |
168 | | - | |
| 171 | + | |
169 | 172 | | |
170 | 173 | | |
171 | 174 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
0 commit comments