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 |
|
Laura Klünder
|
d2c2017748
|
implement location popup buttons
|
2017-10-30 14:40:26 +01:00 |
|
Laura Klünder
|
7e34439882
|
some minor js improvements
|
2017-10-30 14:13:09 +01:00 |
|
Laura Klünder
|
1efdad1f58
|
add location popups
|
2017-10-30 14:07:44 +01:00 |
|
Laura Klünder
|
e33156dc4a
|
call c3nav.update_map_locations after swap
|
2017-10-30 11:13:18 +01:00 |
|
Laura Klünder
|
eda4977efc
|
fix markers for location groups
|
2017-10-30 11:10:50 +01:00 |
|
Laura Klünder
|
c245769ad8
|
don't always fly to bounds
|
2017-10-29 22:53:30 +01:00 |
|
Laura Klünder
|
f382ba2e1d
|
add origin and destination icons
|
2017-10-29 21:48:24 +01:00 |
|
Laura Klünder
|
4b5b65c1b4
|
remove old css code
|
2017-10-29 20:21:37 +01:00 |
|
Laura Klünder
|
7c8dc7e85d
|
more autofocus on view transitions
|
2017-10-29 20:05:13 +01:00 |
|
Laura Klünder
|
e74811122d
|
save views in <main> and add route-result view and route-header
|
2017-10-29 19:54:44 +01:00 |
|
Laura Klünder
|
284cbb15c2
|
fix leaflet icon image path
|
2017-10-29 18:34:39 +01:00 |
|
Laura Klünder
|
28945f1a36
|
swap origin and destination
|
2017-10-29 17:03:02 +01:00 |
|
Laura Klünder
|
f29183b68a
|
remove EmptyBounds
|
2017-10-29 16:31:46 +01:00 |
|
Laura Klünder
|
d05ae2d7da
|
calculate correct padding for flyToBounds
|
2017-10-29 13:14:02 +01:00 |
|
Laura Klünder
|
0acc1a6413
|
fix tileLayer bounds (were still y,x)
|
2017-10-29 12:49:26 +01:00 |
|
Laura Klünder
|
021c5a3c3a
|
show results on the map and fly to bounds
|
2017-10-29 12:45:26 +01:00 |
|
Laura Klünder
|
31cb2dd046
|
add markers when a location is selected
|
2017-10-29 12:00:59 +01:00 |
|
Laura Klünder
|
0cc7617502
|
replace locations_by_slug with locations_by_id
|
2017-10-29 12:00:08 +01:00 |
|
Laura Klünder
|
a3be7b2842
|
flip every y,x to x,y
|
2017-10-29 11:32:44 +01:00 |
|
Laura Klünder
|
0aadd97eb8
|
fix view transition in chrome (some weird rendering bug)
|
2017-10-28 19:30:11 +02:00 |
|
Laura Klünder
|
9bdea3b4b4
|
click route button
|
2017-10-28 19:30:04 +02:00 |
|
Laura Klünder
|
4771f8828e
|
init_locationinputs()
|
2017-10-28 18:57:58 +02:00 |
|
Laura Klünder
|
ea76bfe8e2
|
init_locationinputs → init_sidebar
|
2017-10-28 18:56:45 +02:00 |
|
Laura Klünder
|
d32d4315ff
|
fix missing semicolon
|
2017-10-28 18:56:38 +02:00 |
|
Laura Klünder
|
81c360ba69
|
blur input or focus next one on click or return key
|
2017-10-28 18:53:42 +02:00 |
|
Laura Klünder
|
2a158a41ac
|
change view transition speed
|
2017-10-28 18:46:46 +02:00 |
|
Laura Klünder
|
7d483fc5cc
|
toggle location view
|
2017-10-28 18:45:20 +02:00 |
|