Commit graph

6860 commits

Author SHA1 Message Date
Tom Hughes
b6438f5a9e Style feature in query mode to match browse mode 2014-03-16 16:18:13 +00:00
Tom Hughes
606ac76108 Disable query feature tool below z14 2014-03-16 16:18:13 +00:00
Tom Hughes
8a70e1c082 Increase search radius at lower zooms 2014-03-16 16:18:13 +00:00
Tom Hughes
dedd87da28 Show a message when no features are found 2014-03-16 16:18:13 +00:00
Tom Hughes
e329bf37c0 Improve styling of feature list 2014-03-16 16:18:13 +00:00
Tom Hughes
479b22ca77 Filter out nodes which are too far away 2014-03-16 16:18:13 +00:00
Tom Hughes
078059b76b Initial work on overpass based query API 2014-03-16 16:18:12 +00:00
Tom Hughes
4cad1970fb Make sure the hash updates properly on browse pages
Rework the way the move listener is disabled during initial
positiong of pages to avoid accidentally leaving it disabled
for the first user move of the map in some cases.
2014-03-16 14:11:29 +00:00
Tom Hughes
0de6885a91 Drop client side parsing of lat/lon parameters
The server always redirects these to a new style link with the
position in the hash, so we don't need to do it client side
2014-03-16 12:56:32 +00:00
Tom Hughes
faa77f7bcd Update to rails 4.0.4 2014-03-14 18:58:02 +00:00
Tom Hughes
24e22dde6e Don't call updateLayers if the new state has no layer config
Fixes #719
2014-03-13 21:36:33 +00:00
Tom Hughes
82ff8ef58d Remove unused (and bogus) code 2014-03-13 17:33:46 +00:00
Tom Hughes
b4a2b23025 Block submission of the export form when the area is too large 2014-03-13 17:33:06 +00:00
Tom Hughes
d79b286723 Fix more links to use new style #map links 2014-03-13 16:02:50 +00:00
Tom Hughes
4b3d4782ce Remove unused file 2014-03-13 16:01:17 +00:00
Tom Hughes
9b35270d0b Update map state when following a client side route 2014-03-13 13:37:45 +00:00
Tom Hughes
07082c35e6 Fix link 2014-03-13 13:37:39 +00:00
Tom Hughes
54890300a4 Generate a new style links for node locations in the data browser 2014-03-13 13:19:50 +00:00
Siebrand Mazeland
029f9217e9 Localisation updates from https://translatewiki.net. 2014-03-12 13:01:16 +00:00
Richard Fairhurst
23ffdadb56 Don't show http-only routers to users on https 2014-03-10 18:02:28 +00:00
Richard Fairhurst
9d8ab7dbd1 From->To->Go order as per @samanpwbb's comment 2014-03-10 16:55:01 +00:00
Richard Fairhurst
888db7a3b4 Firefox-friendly calculation of dragstart offset
(personally I am not feeling very Firefox-friendly right now)
2014-03-09 21:29:48 +00:00
Richard Fairhurst
608ec07b1f Refer to the id for the distance/time summary
(otherwise it fouls up the welcome message spacing)
2014-03-09 20:27:22 +00:00
Richard Fairhurst
373b932717 Merge pull request #17 from danstowell/jsrouting-clearsearch
jsrouting: clear search boxes on page unload
2014-03-09 17:35:51 +00:00
Shaun McDonald
28a4508aec Add some additional information to help people starting out on the project using vagrant, especially if you haven't used vagrant before. 2014-03-09 16:48:04 +00:00
Dan Stowell
bc67479bcc jsrouting: clear search boxes on page unload 2014-03-09 15:06:08 +00:00
Richard Fairhurst
42c1dec8f0 Resolve conflict 2014-03-09 12:05:37 +00:00
Richard Fairhurst
5853f81ee8 Merge pull request #15 from danstowell/jsrouting-highlightsegments
jsrouting: mouseover an instruction, highlight the route segment
2014-03-09 11:44:02 +00:00
Dan Stowell
15f0367e7f jsrouting: mouseover an instruction, highlight the route segment 2014-03-09 09:37:42 +00:00
Richard Fairhurst
eab2eeaa47 Merge pull request #14 from tomhughes/routing
Routing
2014-03-08 17:47:23 +00:00
Tom Hughes
b095b59d5e Merge remote-tracking branch 'origin/master' into routing
Conflicts:
	app/views/layouts/_search.html.erb
2014-03-08 17:44:22 +00:00
Richard Fairhurst
5c0e96e0e0 Convert tabs to spaces
(because I'll be lynched otherwise, mutter grumble)
2014-03-08 16:39:51 +00:00
Richard Fairhurst
926c7b56a8 Zoom to fit when submitting form 2014-03-08 16:31:54 +00:00
Richard Fairhurst
3ef8024b1d Add distance/time summary 2014-03-08 16:14:14 +00:00
Richard Fairhurst
9a05a7ba49 Put marker at exact position user dragged it to 2014-03-08 15:17:22 +00:00
Richard Fairhurst
15904542a6 Pass on routing failures from MapQuest 2014-03-08 14:14:43 +00:00
Richard Fairhurst
2f0794738c Add CORS for engines that support it
(Do we need a fix for IE8/9?
- https://github.com/MoonScript/jQuery-ajaxTransport-XDomainRequest
- https://github.com/jaubourg/ajaxHooks/blob/master/src/xdr.js )
2014-03-08 14:03:08 +00:00
Richard Fairhurst
a997690897 Refactor MQ/OSRM engines a la @karussell patch 2014-03-08 13:37:27 +00:00
Richard Fairhurst
dd4406ed41 Remove CloudMade foot engine
(OSM is probably not an "Enterprise Plan" customer ;) )
2014-03-08 12:35:00 +00:00
Richard Fairhurst
7915a22caf Use generic GraphHopper engine 2014-03-08 12:31:06 +00:00
Richard Fairhurst
3ddda7319c Merge pull request #13 from danstowell/jsrouting-ffoxdragok
fix firefox behaviour when dragging pointer from the tray to the map
2014-03-08 12:13:40 +00:00
Richard Fairhurst
5b6558c0f2 Improve error-handling 2014-03-08 12:07:54 +00:00
Matt Amos
581d871827 Migrate the database on vagrant up.
Also fix the provisioning script so that it runs correctly when
the VM is upped, regardless of whether it's a clean install or
an 'up' of a previously halted VM.
2014-03-08 11:33:52 +00:00
Richard Fairhurst
902f1b0887 Add spinner while awaiting route 2014-03-08 11:14:48 +00:00
Dan Stowell
f28676c07d fix firefox behaviour when dragging pointer from the tray to the map 2014-03-08 10:48:01 +00:00
Matt Amos
b460deaead Added some docs for Vagrant usage.
It doesn't currently recomment using Vagrant - there are probably
some bugs to work out in the process before we can do that.
2014-03-08 10:45:51 +00:00
Richard Fairhurst
bf895a0332 Reformat string to avoid long line 2014-03-08 10:43:29 +00:00
Richard Fairhurst
19513826c5 Merge pull request #12 from danstowell/jsrouting-bboxzoom
jsrouting: zoom to bbox on getting fresh geocoded route, but not on drag etc
2014-03-08 10:29:54 +00:00
Matt Amos
f2d13c0756 Merge remote-tracking branch 'upstream/master' into vagrant 2014-03-08 10:18:24 +00:00
Dan Stowell
628eea2b97 jsrouting: zoom to bbox on getting fresh geocoded route, but not on drag etc 2014-03-08 10:09:30 +00:00