Commit graph

1012 commits

Author SHA1 Message Date
Holger Jeromin
d716e4095b Fix shift key handling in contextmenu 2017-02-19 09:45:47 +01:00
Tom Hughes
0bdf29f10b Merge branch 'contextmenu' 2017-02-18 16:20:20 +00:00
Tom Hughes
7a0766a5e6 Apparently some fool things the colon is part of the protocol 2017-02-18 15:38:14 +00:00
Tom Hughes
b170c06d5c Preserve protocol in standard links 2017-02-18 12:18:34 +00:00
Tom Hughes
77fee91785 Preserve protocol in short links 2017-02-18 12:08:58 +00:00
Tom Hughes
d1044674c5 Merge remote-tracking branch 'openstreetmap/pull/1439' 2017-02-16 20:31:34 +00:00
Nicolas Cornu
63fca227ca Add line segment to each steps of GraphHopper routing 2017-02-16 21:19:55 +01:00
Nicolas Cornu
ffeddd62a8 Fix latLng from GraphHopper engine
latLng is an array and not a latLng object
2017-02-16 20:59:42 +01:00
Nicolas Cornu
5401055ce1 Add Ascend/Descend when routing with GraphHopper 2017-02-16 19:52:41 +01:00
Tom Hughes
8376a430b6 Allow context menu to add notes without panning the map 2017-02-12 19:19:14 +00:00
Tom Hughes
e58a5c69d3 Make context menu entries translateable 2017-02-12 19:19:14 +00:00
Tom Hughes
430978fab7 Improve context menu initialisation to avoid namespace pollution 2017-02-12 19:19:13 +00:00
Tom Hughes
043d29fd7e Merge remote-tracking branch 'openstreetmap/pull/1030' into next 2017-02-12 15:04:50 +00:00
Tom Hughes
579e323d09 Only record a visible object if it exists
Fixes #1430
2017-02-08 09:54:14 +00:00
Tom Hughes
0ca8b0a327 Place GPS tiles in the overlayPane 2017-01-05 08:45:59 +00:00
Lars Sonchocky-Helldorf
df17b997b3 Add public gps tiles layer for debugging purposes
Fixes #1239
Closes #1406
2017-01-04 19:26:15 +00:00
Tom Hughes
93631482ce Make export form send authenticity token 2017-01-02 22:50:59 +00:00
Bryan Housel
6c3a31d06c Update to iD v2.0.0 2016-11-15 10:16:34 -05:00
Holger Jeromin
2ed5e97356 Removed duplicate entry for turn straight 2016-11-14 08:57:16 +01:00
Holger Jeromin
c5ca0d3ac5 Fixed typo trun vs turn 2016-11-11 19:30:06 +01:00
Tom Hughes
f6695c9079 Merge remote-tracking branch 'openstreetmap/pull/1344' 2016-10-27 11:51:36 +01:00
Mormegil
caac9a9403 Ensure IE/Edge compatibility for routing drag&drop
Use the DataTransfer interface properly, using the `text` format, as
IE/Edge does not support much more. We can JSON-serialize anything
there, even though right now, only a single string would be enough.

Also, IE does not support .setDragImage, so check for support prior
to calling.

Fixes #1343
2016-10-27 12:34:07 +02:00
Marco Antonio Frias Butrón
1f9857e76c Patch classes on the locate control
This patches the map on the user page in the same way as the main map.

Closes #1328
2016-10-17 11:00:01 +01:00
Tom Hughes
6d9bddfa47 Patch classes on the locate control
This replaces the patching of the vendored source that we had been
doing before and which we always forget to apply after updating it.

Fixes #1306
2016-09-30 11:15:18 +01:00
Tom Hughes
f4a4632b45 Update leaflet to 1.0.0 2016-09-29 08:29:51 +01:00
Tom Hughes
d75c203ecf Add thunderforest API key to embedded maps
Fixes #1293
2016-09-21 20:05:00 +01:00
Tom Hughes
e0dd431e6c Propagate API keys to minimaps in layer switcher 2016-09-08 17:35:37 +01:00
Tom Hughes
322e7142ba Hide thunderforest layers when no API key is available 2016-09-08 17:28:54 +01:00
Tom Hughes
3eda7be919 Use an API key for thunderforest tile layers 2016-09-08 16:16:45 +01:00
Tom Hughes
9f817f8364 Set banner expiry correctly 2016-08-23 19:23:58 +01:00
Tom Hughes
31c81f108d Set all cookies on the root path 2016-08-17 10:04:57 +01:00
Tom Hughes
fb9afd32db Make banner cookies expire after one year
This avoids having lots of cookies stick around forever and
we shouldn't ever have a banner up for that long.
2016-08-17 10:02:50 +01:00
Simon Legner
94f02270c1 Pan to first Nominatim search result
Fixes #919
Closes #1041
2016-08-15 20:58:07 +01:00
Tom Hughes
dae3dcf87e Merge remote-tracking branch 'openstreetmap/pull/1004' 2016-08-15 20:20:37 +01:00
Tom Hughes
078dc1a526 Correct icon mappings for non OSRM routers 2016-08-05 18:59:21 +01:00
Patrick Niklaus
311acad0c4 Add support for OSRM 5.0 API and new instruction types
Add support for the new API in OSRM 5.x including new icon sprites
for the new instruction types.
2016-08-05 18:55:16 +01:00
Tom Hughes
24ddb8657d Revert "Don't pass the locale to the Mapzen routing engine"
This reverts commit 38180c56c9.
2016-07-26 18:36:56 +01:00
Bryan Housel
40abfdd316 remove debug statement 2016-06-20 19:19:20 -04:00
Bryan Housel
5e27978d3c Add support for rotating banners, add banners for SOTM, SOTMUS 2016-06-20 18:09:55 -04:00
Tom Hughes
16f8acd243 Remove more traces of MapQuest Open layer 2016-06-15 20:38:52 +01:00
Tom Hughes
fb234e2ecb Drop the MapQuest Open layer 2016-06-15 20:24:09 +01:00
Tom Hughes
6c4448b9f6 Increase overpass API timeout 2016-03-20 19:41:15 +00:00
Tom Hughes
a95748b168 Handle overpass errors reported as remarks
Not all overpass errors are reported as HTTP errors - some are
reported as HTTP success with a remark in the response.

Fixes #1178
2016-03-20 19:39:51 +00:00
Tom Hughes
945ff7911c Merge remote-tracking branch 'openstreetmap/pull/954' 2016-03-20 18:47:35 +00:00
Tom Hughes
38180c56c9 Don't pass the locale to the Mapzen routing engine
It only supports en-US currently, and passing anything else now
makes it error instead of falling back to en-US.
2016-03-15 10:03:18 +00:00
Tom Hughes
16f5a5ac0c Merge remote-tracking branch 'openstreetmap/pull/954' 2016-03-14 22:11:23 +00:00
Simon Legner
5f495b43d1 Notes: show first comment as marker tooltip 2016-03-14 23:00:45 +01:00
Simon Legner
359d030a5b Only the standard layer can be exported
Fixes #1141
Closes #1182
2016-03-14 21:04:31 +00:00
Florian Schäfer
fbf2b45ecc Make "Report a problem" link in embeddable map translateable 2016-03-09 19:26:59 +00:00
Tom Hughes
544ed36247 Enebale I18n for embedded maps 2016-03-09 19:26:31 +00:00