Commit graph

2313 commits

Author SHA1 Message Date
Laura Klünder
8f3fd001fe remove levels/svg api endpoint as this no longer works 2017-11-29 10:52:25 +01:00
Laura Klünder
c71b9b0f8b speed up router 2017-11-29 00:01:23 +01:00
Laura Klünder
f260b52a6e fix error in route initialization 2017-11-29 00:00:42 +01:00
Laura Klünder
353d00cbf2 fix error in good_representative_point 2017-11-29 00:00:14 +01:00
Laura Klünder
b66d5c8a08 rename to add_intermediate_point 2017-11-28 23:39:50 +01:00
Laura Klünder
421943f32c better factor for intermediate points offset 2017-11-28 23:39:30 +01:00
Laura Klünder
2e61e3385e add_intermediate_points: look better for short distances 2017-11-28 23:37:53 +01:00
Laura Klünder
5b9a5ec040 fix bug during routing 2017-11-28 23:34:11 +01:00
Laura Klünder
7a47cb192d _click_anywhere should only trigger if the map is clicked directly 2017-11-28 23:28:09 +01:00
Laura Klünder
06bd8967c8 show node_addition in route 2017-11-28 23:25:56 +01:00
Laura Klünder
b92c871bc2 route from/to custom locations 2017-11-28 23:08:47 +01:00
Laura Klünder
f5ee24495e route from/to POI 2017-11-28 22:40:01 +01:00
Laura Klünder
08ec318231 prepare router for routing from points 2017-11-28 22:02:24 +01:00
Laura Klünder
4195a1325c show/hide "show in editor" link 2017-11-28 21:25:43 +01:00
Laura Klünder
eeae2d019b display coordinates details 2017-11-28 21:24:08 +01:00
Laura Klünder
4d2607ca3f click anywhere to get coordinates 2017-11-28 21:12:14 +01:00
Laura Klünder
b6fc7ede26 fix python map state parsing 2017-11-28 20:44:15 +01:00
Laura Klünder
ee20019417 fix data for level selector 2017-11-28 20:38:37 +01:00
Laura Klünder
3392226c44 allow more decimal digits in custom location id, but round them away 2017-11-28 20:25:52 +01:00
Laura Klünder
9b2b70f46f levels_by_short_label_for_request 2017-11-28 20:24:39 +01:00
Laura Klünder
dc46173668 custom locations are something that we want 2017-11-28 20:15:31 +01:00
Laura Klünder
e0dc75c992 remove old code 2017-11-28 16:17:08 +01:00
Laura Klünder
88bb6e6b06 much simpler origin/destination line smoothing 2017-11-28 16:10:35 +01:00
Laura Klünder
a0c62ccc0e fix typo 2017-11-28 15:37:09 +01:00
Laura Klünder
7006e99e73 smooth origin and destination lines 2017-11-28 15:36:41 +01:00
Laura Klünder
8d657eb34f smooth line drawing 2017-11-28 14:48:46 +01:00
Laura Klünder
5184206b49 allow -2 and -1 zoom 2017-11-28 14:14:03 +01:00
Laura Klünder
78d09a0c0c improve route nofly logic 2017-11-28 14:08:05 +01:00
Laura Klünder
97db5dc6e3 display_route: only fly during during load if no center was set 2017-11-28 14:06:41 +01:00
Laura Klünder
c72e64789c fly_to_bounds can now fly to the current route 2017-11-28 13:51:00 +01:00
Laura Klünder
2df6b971f9 dash lines on intermediate levels 2017-11-28 13:29:02 +01:00
Laura Klünder
cd48fcd18e add links between levels when clicking on route 2017-11-28 13:27:23 +01:00
Laura Klünder
8b2f19ee9e take coordinates from first and last point from route result 2017-11-28 13:10:38 +01:00
Laura Klünder
e0f13e49a4 dashed gray line from/to first/last point 2017-11-28 13:03:39 +01:00
Laura Klünder
4e6fe584cf add line from/to first/last point 2017-11-28 12:46:03 +01:00
Laura Klünder
a5a128df79 save route result so it does not have to be reloaded again and again 2017-11-28 12:40:05 +01:00
Laura Klünder
a74f0fc1d4 show route in frontend 2017-11-28 12:32:46 +01:00
Laura Klünder
f34a31990d _location_details_loaded should work 2017-11-28 11:34:34 +01:00
Laura Klünder
0485e02a3a remove INSTANCE_NAME 2017-11-28 11:24:18 +01:00
Laura Klünder
344eb53d14 maxZoom is now 5 2017-11-28 11:15:12 +01:00
Laura Klünder
c19c4e72a9 remove unneeded code and debug statements 2017-11-28 11:05:44 +01:00
Laura Klünder
6d7f012666 _location_details_loaded 2017-11-28 11:03:51 +01:00
Laura Klünder
384ef43209 remove debug statements 2017-11-28 01:12:35 +01:00
Laura Klünder
cb452643df c3nav.js load locations before initiating anything else 2017-11-28 01:11:01 +01:00
Laura Klünder
d4f6906a62 respect permissions in routing api 2017-11-28 00:41:34 +01:00
Laura Klünder
b5f8cc3afd route from/to location groups and respect permissions 2017-11-28 00:40:21 +01:00
Laura Klünder
e1192fccf7 don't show origin as destination 2017-11-28 00:39:02 +01:00
Laura Klünder
ddd87d2523 always describe from the viewpoint of the request and save queries 2017-11-28 00:16:43 +01:00
Laura Klünder
89bf924ec3 remove unneeded code 2017-11-27 23:41:08 +01:00
Laura Klünder
1ac5d554f2 use only can_describe=True locations to describe routes 2017-11-27 23:38:55 +01:00