Florian Schäfer
151a48d7f3
Open new tab/window for "report a problem" link
...
This avoids closing whatever site the user was looking at when they
spotted he problem, and avoid problems when the embedded map is part
of an iframe as the problem report page denies embedding.
2016-03-09 19:23:03 +00:00
Simon Legner
6c3fd1e053
Consistent blue marker colour for sharing location
...
Before, when adding a marker, it was coloured blue. After sharing the marker,
it was coloured red.
2016-03-08 23:59:55 +01:00
Tom Hughes
6e154d48c0
Ignore bounds on elements with geometry
2016-03-06 21:37:47 +00:00
Tom Hughes
0ff7a928e4
Fix query tool to get correct bounds for enclosing ways
...
The bounding box returned by overpass for geom output is only
the bounds for the clipped geometry, so fetch the geometry and
the bounding box separately and merge them client side.
Fixes #1156
2016-03-06 20:42:04 +00:00
Tom Hughes
e128e78408
Move routing API endpoint addresses to config file
2016-01-11 19:03:47 +00:00
Tom Hughes
67f3658431
Preserve URL fragments through external authentication
...
Fixes #1102
2015-12-12 16:08:09 +00:00
Tom Hughes
9dd5dabf86
Remove inline javascript from login page
2015-12-12 11:42:36 +00:00
Tom Hughes
ec9d2fde78
Merge remote-tracking branch 'openstreetmap/pull/1085'
2015-12-07 14:11:35 +00:00
Tom Hughes
e20bb507f1
Fix issues with bogus % encoded sequences in URLs
...
Add a URI sanitizer to the rack stack avoid rack throwing
exceptions on the server side, and ignore errors decoding
components on the client side.
Fixes #1101
2015-12-07 13:52:20 +00:00
Aditya Prakash
ed151fdb78
Hide .describe_location on push and popstate
2015-11-13 09:41:47 +05:30
Dan Stowell
6b0451124c
Fix missing semicolon warnings
2015-10-12 21:43:00 +01:00
Tom Hughes
3932c6b7f2
User ferry icon for kFerryEnter with Mapzen routing
2015-10-12 21:17:57 +01:00
Simon Legner
ee5e4ac5a4
Add ferry routing information for OSRM
...
Relates to #1000 .
Uses instruction code 18 to represent a ferry instruction. Ferry icon
taken from Mapbox Maki set (CC0).
2015-10-06 21:09:56 +02:00
Tom Hughes
3c771a7844
Improve error handling for routing engines
2015-09-30 21:58:16 +01:00
Tom Hughes
d1d784bcca
Ensure assets are recompiled when configuration changes
2015-09-30 19:34:14 +01:00
Tom Hughes
8df1212b59
Scale total distance to metres for Mapzen
2015-09-30 17:22:27 +01:00
Tom Hughes
e54eadea95
Add support for Mapzen's Valhalla routing engine
2015-09-29 15:37:04 +01:00
Tom Hughes
24eaeb2653
Fix jshint warning
2015-09-28 15:01:41 +01:00
Tom Hughes
31c80f6646
Use jsonp for MapQuest as CORS doesn't seem to be working
2015-09-28 14:47:32 +01:00
Tom Hughes
38213ab588
Allow jQuery to construct the routing URLs
2015-09-28 14:43:36 +01:00
Tom Hughes
2d6fb571dc
Make MapQuest API key conditional
2015-09-28 13:54:49 +01:00
Tom Hughes
7dd23a4b56
Move the MapQuest API key to the configuration file
2015-09-28 13:45:01 +01:00
Tom Hughes
db7374f2bb
Merge remote-tracking branch 'openstreetmap/pull/1040'
2015-08-27 21:30:50 +01:00
Simon Legner
2520bdb9eb
Close layers panel on double-clicking a layer
...
Relates to #465 .
2015-08-26 23:31:36 +02:00
Simon Legner
6d511fbd34
Directions, read "to" location in URL - fixes #998
2015-08-26 21:38:39 +02:00
Simon Legner
20139c08e5
Notes: show first comment as marker tooltip
2015-08-26 20:44:04 +02:00
Dan Stowell
35fbcf2815
Move contextmenu callbacks to separate file
2015-08-19 22:58:20 +01:00
Dan Stowell
0fa051fb40
Move leaflet.contextmenu 3rd party code to "vendor" folder
2015-08-17 08:55:48 +01:00
Dan Stowell
e5b5faad72
tidier code
2015-08-09 19:29:37 +01:00
Dan Stowell
a2cf9b5b9f
Enable/disable some context-menu options conditional on zoom
2015-08-09 19:11:36 +01:00
Dan Stowell
8d0472f2ca
Allow users to get default contextmenu on shift-click
2015-08-09 12:11:07 +01:00
Dan Stowell
81d79f5e16
Simplify new-note marker placement - always in the centre
...
(This removes a tweak added in 40b3c82
, which we believe is
no longer relevant now the new-note dialogue is sidebar
rather than bubble.)
2015-08-09 10:56:22 +01:00
Dan Stowell
6e12650a45
Add "Query features" to context menu
2015-08-07 21:15:05 +01:00
Dan Stowell
cd61c8e065
Implement context menu with: directions, add note, describe, centre.
2015-08-05 22:30:41 +01:00
Dan Stowell
9ef85e42ba
Import leaflet.contextmenu source files
...
From https://github.com/aratcliffe/Leaflet.contextmenu
latest commit 52a542da4f
2015-08-05 19:49:07 +01:00
Tom Hughes
4dceacdeba
Make switch to compact and small modes dynamic
...
The point where we need to switch between normal mode, compact mode
and small mode varies due to different string lengths in different
languages, but that can't be expressed by a media query, so use some
javascript to update as the window size changes.
Fixes #1014
2015-07-22 22:48:22 +01:00
Tom Hughes
67e77fd20e
Use correct URL for problem report control
2015-07-17 22:36:57 +01:00
Tom Hughes
899891fe8a
Simplify "report a problem" control
...
Defer to the standard attribution control methods as much as
possible instead of duplicating them.
2015-07-17 22:19:49 +01:00
Simon Poole
6ede8ca045
Add report a problem link to attribution, code nicked from osm.ch
2015-07-17 21:21:12 +01:00
Emersion
56316e17ad
Adds first try to add key to cyclemap
2015-07-11 12:56:20 +02:00
Tom Hughes
996d5413d8
Remove donation drive banner
...
Fixes #1003
2015-07-11 11:40:14 +01:00
Tom Hughes
d28ae2ad0a
Change direction string ids to force retranslation
2015-07-08 20:38:28 +01:00
Tom Hughes
1729a680ac
Improve formatting of OSRM directions
...
Fixes #904
2015-07-01 21:03:54 +01:00
Tom Hughes
9e2db4513e
Change donation drive panel to a thank you
...
Closes #1001
2015-06-30 22:01:44 +01:00
Eric Theise
6403cb9b08
Add a Geo URI link to the share panel
...
Fixes #799
2015-06-25 17:56:03 +01:00
Tom Hughes
876d5614da
Add advert for donation drive
2015-06-16 10:38:29 +01:00
Tom Hughes
e2aef40437
URI encode the X-Page-Title header
...
Browsers's are inconsistent in how they interpret the encoding
of a response header in an XHR request, so URI encode it so that
it simple ASCII we can then decode it again in the browser.
2015-03-17 18:49:39 +00:00
Tom Hughes
05caad1a5d
Fix some validation issues
2015-03-16 20:49:14 +00:00
Tom Hughes
6d9d688080
Simplify close icon for routing panel and fix validation error
2015-03-16 20:26:59 +00:00
Tom Hughes
db66e48847
Display tooltips on the right for RTL languages
...
Fixes #925
2015-03-09 22:29:18 +00:00