Commit graph

2440 commits

Author SHA1 Message Date
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
Laura Klünder
e5f53aa399 rebuild router when processing updates 2017-11-27 16:53:56 +01:00
Laura Klünder
0306b3fa87 calculate edge distance in 3 dimensions 2017-11-27 16:51:48 +01:00
Laura Klünder
e4b0995751 show distance in route serialization 2017-11-27 16:49:12 +01:00
Laura Klünder
1e0b85220f add origin and destination to route serialization 2017-11-27 16:47:47 +01:00
Laura Klünder
4195dce491 update todo 2017-11-27 16:47:31 +01:00
Laura Klünder
3faed6c316 route from/to level or area 2017-11-27 16:46:03 +01:00
Laura Klünder
69dab03148 allow post in routing api 2017-11-27 16:43:41 +01:00
Laura Klünder
e00400a66f remove wrongly copied code from routing api 2017-11-27 16:43:12 +01:00
Laura Klünder
b88cc9d942 coords → coordinates 2017-11-27 16:42:35 +01:00
Laura Klünder
4c88cb2504 add routing api 2017-11-27 16:40:15 +01:00
Laura Klünder
c6948b4ce0 c3nav.js: use location api with location ids 2017-11-27 16:09:05 +01:00
Laura Klünder
6d13725e13 location api: use ids by default 2017-11-27 16:06:55 +01:00
Laura Klünder
31297ac39a fix include_type 2017-11-27 15:44:22 +01:00
Laura Klünder
480850b8ea improve route serialization 2017-11-27 15:41:25 +01:00
Laura Klünder
dfe7d10574 it's _name_cache not name_cache 2017-11-27 15:39:42 +01:00
Laura Klünder
5f2ca60432 getting a route 2017-11-27 15:01:58 +01:00
Laura Klünder
4c611995b8 fix AttributeError when unpickling 2017-11-27 13:41:16 +01:00
Laura Klünder
c698c1d6c6 save and load router 2017-11-27 13:21:53 +01:00
Laura Klünder
dd3a885749 start implementing routing by creating new router 2017-11-27 02:16:20 +01:00
Laura Klünder
587b08a1e4 namedtuple subclasses should set __slots__=() 2017-11-26 18:35:00 +01:00
Laura Klünder
fcae62eb86 fix error which caused infinite loops by accessing deferred fields 2017-11-26 14:18:41 +01:00
Laura Klünder
01e8eade8e make sure colors are in the right order (looks nicer in export source) 2017-11-26 13:17:39 +01:00
Laura Klünder
ed8e351556 shorter groundcolor name 2017-11-26 13:13:20 +01:00