Commit graph

253 commits

Author SHA1 Message Date
Laura Klünder
e63d209767 decrease locate button size to fix better 2017-11-15 14:54:52 +01:00
Laura Klünder
863ef84645 use icons in location popup 2017-11-15 14:53:41 +01:00
Laura Klünder
79a9f95b02 add location icon to autocomplete 2017-11-15 14:45:04 +01:00
Laura Klünder
66a90ed3d9 move route summary and improve ui with more icons 2017-11-15 14:10:59 +01:00
Laura Klünder
b7b0f2c21e add icons to buttons 2017-11-15 12:36:10 +01:00
Laura Klünder
08ecc2be9f replace svg icons with google material icons font 2017-11-15 12:10:11 +01:00
Laura Klünder
43cdba9950 fix iconRetinaUrl 2017-11-12 00:08:03 +01:00
Laura Klünder
e94145cc96 route-summary for mobile devices 2017-11-12 00:07:22 +01:00
Laura Klünder
aea9069285 fix typo in c3nav.js when closing route view 2017-11-11 22:33:10 +01:00
Laura Klünder
400f2892bb fix scroll wheel zoom on thinkpads and similar 2017-11-05 18:19:45 +01:00
Laura Klünder
0e3fa01131 main index: only show primary levels 2017-11-05 17:54:03 +01:00
Laura Klünder
f928fd8b6e fix imports 2017-11-05 12:32:07 +01:00
Laura Klünder
df451f9143 cleanup render code to make room for the opengl rendering engine 2017-11-04 23:21:36 +01:00
Laura Klünder
94a23454a1 change short urls to not rely on doule slashes 2017-10-31 18:35:42 +01:00
Laura Klünder
86b090a29f move .leaflet-touch disable code elsewhere due to leaflet update 2017-10-31 18:00:26 +01:00
Laura Klünder
5c7e172ee7 add missing bottom padding 2017-10-31 17:22:39 +01:00
Laura Klünder
f0813f1acf vor location or route links without position, fly to bounds 2017-10-31 17:20:31 +01:00
Laura Klünder
11c2d1616a call update_map_locations() after load_state() 2017-10-31 17:14:10 +01:00
Laura Klünder
432df73df7 fix level url representation 2017-10-31 16:12:42 +01:00
Laura Klünder
0f137bab81 x y and zoom can start with a minus 2017-10-31 16:09:10 +01:00
Laura Klünder
e98c38e5fb represent level in state url as short_label, not its id 2017-10-31 16:08:20 +01:00
Laura Klünder
4c32a22aac remove whitespaces in state json serialization 2017-10-31 15:45:07 +01:00
Laura Klünder
8813f00e95 remove old view get_map_image 2017-10-31 15:44:33 +01:00
Laura Klünder
9787d915f4 improve state logic in map_index 2017-10-31 15:37:19 +01:00
Laura Klünder
91bf8b9652 finish history state logic, implement it in python 2017-10-31 15:28:49 +01:00
Laura Klünder
aec7935ab0 comment out debug statements 2017-10-31 12:38:00 +01:00
Laura Klünder
4e39a3b8a4 implement load_state / onpopstate 2017-10-31 12:37:21 +01:00
Laura Klünder
4f6b96b494 remove c3nav._routing, as it is already saved in c3nav.state.routing 2017-10-31 12:23:31 +01:00
Laura Klünder
bbfa5da2f6 finish history state logic 2017-10-31 12:20:33 +01:00
Laura Klünder
31be55897a create states and push them 2017-10-31 01:32:25 +01:00
Laura Klünder
c62fe54893 add missing semicolon 2017-10-30 21:17:19 +01:00
Laura Klünder
46dab72c01 add padding and xy→yx conversion in initial fitBounds 2017-10-30 21:16:30 +01:00
Laura Klünder
24f460d269 add zoomSnap: 0 in Leaflet to allow smooth zooming 2017-10-30 20:50:42 +01:00
Laura Klünder
74f51379cf simplify logic everywhere where === null or similar is used 2017-10-30 18:32:10 +01:00
Laura Klünder
3030c264f4 only reset origin input if needed 2017-10-30 18:21:34 +01:00
Laura Klünder
d6a08e187e fix travis build 2017-10-30 18:17:35 +01:00
Laura Klünder
2bffb127dd make _locationinput_set_raw the default and call update_state manually 2017-10-30 18:05:32 +01:00
Laura Klünder
1dcc6ee8ca fix typo 2017-10-30 18:01:43 +01:00
Laura Klünder
e45cb6746b use removeData 2017-10-30 18:00:41 +01:00
Laura Klünder
d49540f3ff save suggestion keyboard navigation in other field to avoid collisions 2017-10-30 17:58:18 +01:00
Laura Klünder
6182227bc4 call fly_to_bounds directly only when needed 2017-10-30 17:51:12 +01:00
Laura Klünder
1fabe9160c set c3nav._routing 2017-10-30 17:47:08 +01:00
Laura Klünder
6eedf2b9dc move all focus logic into update_state() 2017-10-30 17:45:21 +01:00
Laura Klünder
28c0441fd3 move search/result logic into update_state() 2017-10-30 17:40:20 +01:00
Laura Klünder
cdd26d0992 add update_state() 2017-10-30 17:00:08 +01:00
Laura Klünder
730cb1072a refactor c3nav.js a bit 2017-10-30 16:15:50 +01:00
Laura Klünder
9585c1a264 remove unneded line from c3nav.js 2017-10-30 16:04:51 +01:00
Laura Klünder
845f9ae6ab add some comments to c3nav.js 2017-10-30 16:01:40 +01:00
Laura Klünder
4fa232d2d5 fix language code in <html> tag 2017-10-30 15:52:29 +01:00
Laura Klünder
4c582949f1 fix language code and remove unnneded charset meta tag 2017-10-30 15:50:44 +01:00