Commit graph

1012 commits

Author SHA1 Message Date
Tom Hughes
11af851248 Remove duplicate search handlers
Fixes #922
2015-03-05 00:34:06 +00:00
Tom Hughes
9ec625e352 Fix typo
Fixed #916
2015-02-27 17:02:53 +00:00
Tom Hughes
fa3ccdfd49 Fix OSRM directions issues
Don't rely on trailing spaces in translation strings as they
aren't reliably preserved, and make "exit" translatable.

Fixes #915
2015-02-27 17:00:28 +00:00
Tom Hughes
4254a1f291 Cancel any outstanding route when starting a new one
Fixes #913
2015-02-26 18:39:31 +00:00
Tom Hughes
4b2c64fbed Set an explicit image when dragging from the routing panel
This may help with #912 but at the very least it gives us a full size
image consistent with dragging marker that is already on the map.
2015-02-26 14:06:25 +00:00
Peter Karich
7bf86b7c4e GraphHopper directions updates
Add support for roundabouts in directions, update the URL for the
documenation and explicitly excludes elevation data (which requires
a custom polyline decoder) from the results.
2015-02-26 13:25:33 +00:00
Tom Hughes
2d22ab10f7 Force coordinates into bounds when using the query tool 2015-02-25 11:16:10 +00:00
Tom Hughes
e434cb154c Convert OpenID authentication to generic third party authentication 2015-02-25 01:07:23 +00:00
Tom Hughes
e0706f06b1 Fix remaining JSHint issues 2015-02-24 19:45:10 +00:00
Tom Hughes
1dae6a712e Fix path for icons in the leaflet images directory
Fixes #910
2015-02-24 17:04:25 +00:00
Tom Hughes
781e80181e Restore templating to embed.js
The embed.js file is special because it is used standalone without the
rest of our javascript environment. Closes #909.
2015-02-24 12:42:18 +00:00
Tom Hughes
6d124f8012 Fix some more JSHint issues 2015-02-24 00:30:25 +00:00
Tom Hughes
bd2e999756 Move some javascript functions out of global scope 2015-02-24 00:19:08 +00:00
Tom Hughes
1596713871 Fix some JSHint complaints 2015-02-23 21:45:57 +00:00
Tom Hughes
e256c837b5 Eliminate templating from most javascript 2015-02-23 21:45:57 +00:00
Tom Hughes
2cb166cf33 Move querystring.js to vendor tree 2015-02-23 21:45:56 +00:00
Tom Hughes
6e9a76e64d Avoid mixed content warnings for the MapQuest logo 2015-02-16 21:48:08 +00:00
Tom Hughes
098f8e98f2 Avoid mixed content warnings when routing queries Nominatim 2015-02-16 21:46:54 +00:00
Tom Hughes
250bb47cc2 Merge remote-tracking branch 'systemed/routing' 2015-02-16 08:30:29 +00:00
Bryan Housel
eb61cc614f Update iD container to support iD 1.7.0 2015-02-12 05:57:12 -05:00
Tom Hughes
d5e90c0d87 Add asset wrappers for iD 2015-02-11 19:18:13 +00:00
Dan Stowell
91dac23254 jsrouting: don't close the smallscreen header until both geocodes entered 2015-02-08 11:11:53 +00:00
Tom Hughes
7d32e50e0a Extend https support to all three routing engines 2015-02-01 21:41:06 +00:00
Tom Hughes
8adb0846b4 Update to latest upstream polyline decoder 2015-02-01 15:09:15 +00:00
Tom Hughes
30a39b35e5 Rename directions_engines to directions 2015-02-01 12:58:08 +00:00
Tom Hughes
a2527b79ff Clear old routes when the route panel is reopened 2015-02-01 12:58:08 +00:00
Dan Stowell
8024ad919c fix typo which prevented directions closebox from working 2015-01-26 20:48:01 +00:00
Matt Amos
1b2bfb6e92 Make directions endpoints own the value and not care which input box they get it from. 2015-01-26 18:47:34 +00:00
Matt Amos
5afe47e3f6 Use larger 'spinner' when waiting for route request. Replace HTML in content to avoid resize. 2015-01-26 17:18:32 +00:00
Matt Amos
56b2fdf5c9 Hide route steps sidebar when user presses close button. 2015-01-26 15:39:53 +00:00
Matt Amos
2dd89f2d08 Geocode pre-filled values when the user presses 'Go'. 2015-01-26 15:39:21 +00:00
Matt Amos
321218f9b1 Make close button on route dialogue return to index. 2015-01-26 15:02:55 +00:00
Matt Amos
9995d316b2 Pre-fill directions 'from' field with search query, if any. 2015-01-26 14:52:18 +00:00
Matt Amos
c3e2e6462f Merge remote-tracking branch 'upstream/master' into routing-ui-tweaks-2
Conflicts:
	config/locales/de.yml
2015-01-26 13:14:58 +00:00
Tom Hughes
281dc29c5c Disable the "add note" button in database offline mode 2014-12-14 00:27:31 +00:00
Peter
60dfcbda9a Using HTTPS for GraphHopper
this avoids information leaking if used via https://openstreetmap.org and it should not be a problem when using via the HTTP variant
2014-12-06 18:09:18 +01:00
Tom Hughes
b00b156ef4 Prefer a key=value match over a key only match for object descriptions 2014-11-24 11:00:24 +00:00
Tom Hughes
89af923605 Stringify user ID 2014-11-12 09:44:21 +00:00
Matt Amos
e3062aa794 Made top & bottom spacing in directions list consistent. 2014-11-10 19:59:02 +00:00
Matt Amos
0cb475cc1a Merge remote-tracking branch 'upstream/master' into routing-merge
Conflicts:
	app/assets/javascripts/index.js
	config/locales/en.yml
2014-11-10 16:14:06 +00:00
Tom Hughes
f0ecc6312b Revert "Add SOTM advert"
This reverts commit 15a7276a9f.
2014-11-09 23:03:04 +00:00
Tom Hughes
08a0fc90e3 Track users in piwik 2014-11-09 22:41:01 +00:00
Tom Hughes
4abb666ef0 Handle unknown admin_level values 2014-11-07 19:17:34 +00:00
Tom Hughes
526ff06172 Allow query mode to be turned off at low zoom
Fixes #830
2014-11-07 15:58:05 +00:00
Tom Hughes
2992564276 Look for locale specific names 2014-11-07 15:19:30 +00:00
Tom Hughes
cddec72be5 Don't do the admin boundary special case unless admin_level is set 2014-11-07 15:00:22 +00:00
Paul Norman
758e6da9a8 Add KSJ2 tags to uninteresting list
The KSJ2 tags often appear on nodes with no interesting tags
as import cruft.
2014-11-07 08:20:40 +00:00
Tom Hughes
6b09732854 Don't enable query mode when loading a query URL 2014-11-05 21:03:14 +00:00
Tom Hughes
e78ab8d0d6 Allow query mode to be disabled when the sidebar is open 2014-11-05 13:57:52 +00:00
Tom Hughes
9c7e0e13d7 Sort enclosing features by size 2014-11-04 10:24:36 +00:00