Commit graph

29 commits

Author SHA1 Message Date
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
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
676e624928 Ignore clicks on query results if the mouse has moved 2014-03-31 11:33:27 +01:00
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
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