Commit graph

389 commits

Author SHA1 Message Date
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
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
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
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
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
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
Matt Amos
a3eb48385b Merge remote-tracking branch 'upstream/master' into routing
Conflicts:
	app/assets/javascripts/index.js
	app/assets/javascripts/leaflet.map.js.erb
	config/environments/production.rb
	config/locales/de.yml
2014-11-03 11:08:13 +00:00
Tom Hughes
c4746efdb5 Don't centre on load if the location is already in view 2014-11-01 17:55:21 +00:00
Tom Hughes
9b26dc79c6 Use new overpass geometry output support to get geometeries 2014-11-01 17:55:21 +00:00
Tom Hughes
501d13e1c0 Merge branch 'master' into overpass 2014-11-01 12:50:23 +00:00
Łukasz Gurdek
14ac1babc2 Changeset discussions
Add support for commenting on changesets with RSS feeds and email
notification of comments to other commenters and people that have
chosen to subscribe to a changeset.
2014-10-23 21:24:51 +01:00
Tom Hughes
d1bebd0803 Make sure we pan immediately when a search result is clicked
Fixes #763
2014-06-18 09:36:02 +01:00
Tom Hughes
103fd8a38f Improve behaviour of new search markers 2014-06-17 19:12:32 +01:00
Tom Hughes
a70b61315c Merge branch 'master' into overpass 2014-06-15 14:54:39 +01:00
Tom Hughes
399fe3c12a Highlight search results when the mouse is over them
Fixes #748
2014-06-15 14:11:17 +01:00
John Firebaugh
6b0d4dcab2 Supply hints for OSRM 2014-05-14 16:00:31 -07:00
John Firebaugh
f2bf38606e Permalinks for directions 2014-05-14 15:52:25 -07:00
John Firebaugh
2b252e8337 Refactor 2014-05-13 10:16:53 -07:00
John Firebaugh
18c7c4f5d7 Use unobtrusive JS for routing related events 2014-05-12 12:49:54 -07:00
John Firebaugh
be79156f43 OSM.Routing -> OSM.Directions
Too close of a name collision to OSM.Router.
2014-05-12 12:46:09 -07:00
Tom Hughes
e85bcf9c4d Don't try and route to a note with no ID
Fixes #733
2014-04-26 00:13:49 +01:00
Tom Hughes
676e624928 Ignore clicks on query results if the mouse has moved 2014-03-31 11:33:27 +01:00
Tom Hughes
e7ef10d428 Merge branch 'master' into overpass 2014-03-31 11:30:57 +01:00
Tom Hughes
883a375d1a Ignore clicks on history entries if the mouse has moved
Ignore click events on history events if the mouse moves so that
drag selection can work. Fixes #581.
2014-03-31 11:25:40 +01:00
Tom Hughes
ca07fe853c Remove highlight from map when clicking on a feature 2014-03-28 22:48:22 +00:00