Tom Hughes
ca07fe853c
Remove highlight from map when clicking on a feature
2014-03-28 22:48:22 +00:00
Tom Hughes
8642e4c1f3
Stop query button disabling query mode once it is active
2014-03-28 22:44:59 +00:00
Tom Hughes
50ea797f33
Add https support for overpass
2014-03-25 18:58:21 +00:00
Tom Hughes
2e05669a22
Add comment describing the overpass queries we use
2014-03-17 09:19:14 +00:00
Tom Hughes
03f3fd5954
Simplify overpass query for nearby objects
2014-03-17 09:14:42 +00:00
Tom Hughes
d5fdc0855a
Add an error handler for overpass AJAX calls
2014-03-17 00:24:29 +00:00
Tom Hughes
1f250c45bd
Make sure the query location is always in view
2014-03-16 16:47:27 +00:00
Tom Hughes
203ba58bab
Merge branch 'master' into overpass
2014-03-16 16:20:39 +00:00
Tom Hughes
5452cfeb08
Pivot areas to the underlying way or relation object
2014-03-16 16:18:13 +00:00
Tom Hughes
b87e60e0b6
Abort any existing requests when starting new ones
2014-03-16 16:18:13 +00:00
Tom Hughes
5f970fe334
Make overpass server URL configurable
2014-03-16 16:18:13 +00:00
Tom Hughes
913da4a8db
Use POST for overpass queries
2014-03-16 16:18:13 +00:00
Tom Hughes
77e39800d5
Build and show partial geometries for relatons
2014-03-16 16:18:13 +00:00
Tom Hughes
ca35ac16e7
Consider addr:housename as a name source for features
2014-03-16 16:18:13 +00:00
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
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
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
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
Matt Amos
f2d13c0756
Merge remote-tracking branch 'upstream/master' into vagrant
2014-03-08 10:18:24 +00:00
Tom Hughes
8c82be0537
Make the search form a GET form with no extra fields
...
We only accept GET requests for the search, and although the form is
never normally submitted directly some browsers offer an option to
create a bookmark from a form, so make that work.
2014-03-07 19:18:24 +00:00
Tom Hughes
d65e019823
Add more helper tests
2014-03-05 22:54:59 +00:00
Tom Hughes
0c80a486b4
Remove an unused method
2014-03-05 22:54:50 +00:00
Tom Hughes
1e45b8f521
Update to Leaflet 0.7.2
2014-03-04 15:53:40 +00:00
Tom Hughes
0de7fdb4df
Add more tests for BrowseHelper
2014-03-01 16:02:06 +00:00
Tom Hughes
733108588c
Update config/wiki_pages.yml
2014-03-01 12:36:30 +00:00
João G. Packer
18734786a1
Fixed wikipedia link reference to specific sections
...
When creating a wikipedia link from a tag, the function
is (correctly) appending "?userlang=#{I18N.lang}" to the URL,
but doing this breaks the reference to a specific section
of a wikipedia article (if there is any).
For example, if the tag is "wikipedia=Article#Section", the function
would create a link to "../Article#Section?uselang=xx", and then the
browser wouldn't be able to correctly find the section. The correct
link result should be "../Article?uselang=xx#Section".
This commit fixes this by verifying if there is a reference to a
specific section of the article, and then putting "?uselang=#{I18N.lang}"
between the article's name and the section name.
2014-03-01 00:26:37 +00:00
Tom Hughes
109dcfff19
Add tests for BrowseHelper#wikipedia_link
2014-03-01 00:25:33 +00:00
Tom Hughes
42b7c5802d
Add tests for OSM.locationCookie
2014-02-28 00:28:26 +00:00
Tom Hughes
8c9992f695
Apply zoomPrecision to location cookie
2014-02-28 00:26:34 +00:00
Tom Hughes
1f22b625a0
Move cookieContent to OSM.locationCookie
2014-02-28 00:10:55 +00:00
Tom Hughes
bf797f4380
Update osm.js tests for changes and add some more
2014-02-27 19:10:36 +00:00
Tom Hughes
66039dedb0
Move zoomPrecision function to the OSM namespace
2014-02-27 18:15:54 +00:00