Tom Hughes
83d97699cc
Use configured server protocol for shared URLs
...
Closes #939
2018-02-05 21:03:45 +00:00
Tom Hughes
9340c46173
Remove dependencies on mapzen services
2018-01-02 18:45:20 +00:00
Tom Hughes
d7b4f88d5e
Remove inline javascript from page header
2017-03-01 21:19:32 +00:00
Tom Hughes
d13348c0ea
Remove inline javascript from user views
2017-02-27 22:51:03 +00:00
Tom Hughes
3eda7be919
Use an API key for thunderforest tile layers
2016-09-08 16:16:45 +01:00
Tom Hughes
e128e78408
Move routing API endpoint addresses to config file
2016-01-11 19:03:47 +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
Tom Hughes
d1d784bcca
Ensure assets are recompiled when configuration changes
2015-09-30 19:34:14 +01:00
Tom Hughes
e54eadea95
Add support for Mapzen's Valhalla routing engine
2015-09-29 15:37:04 +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
1dae6a712e
Fix path for icons in the leaflet images directory
...
Fixes #910
2015-02-24 17:04:25 +00:00
Tom Hughes
e256c837b5
Eliminate templating from most javascript
2015-02-23 21:45:57 +00:00
Tom Hughes
5f970fe334
Make overpass server URL configurable
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
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
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
66039dedb0
Move zoomPrecision function to the OSM namespace
2014-02-27 18:15:54 +00:00
John Firebaugh
07976676de
Restore support for #layers=X with no map parameter
...
https://trac.openstreetmap.org/ticket/5056
2013-12-03 19:37:25 +00:00
John Firebaugh
69fdcfd163
Restore legacy bbox/min/max params support
...
https://trac.openstreetmap.org/ticket/5050
https://trac.openstreetmap.org/ticket/5051
2013-12-02 11:38:54 -08:00
Tom Hughes
ec8a601309
Test for the map argument correctly
2013-11-30 14:18:08 +00:00
Tom Hughes
a2b9f593f5
Don't throw an exception if the hash doesn't contain a map argument
2013-11-30 13:20:31 +00:00
John Firebaugh
415f6a42c7
Add explanatory comment
2013-11-25 13:12:04 -08:00
Tom Hughes
560763d224
Revert "Remove redundant code"
...
This reverts commit 28530085fb
.
2013-11-25 20:41:33 +00:00
Tom Hughes
47385464cd
Remove redundant code
...
Attempts to view an object are now redirected to the browse pages
so we will never see a node/way/relation parameter here.
2013-11-24 16:38:53 +00:00
Aaron Lidman
fec9dc84c0
No hash on browse pages, closes #35
2013-11-14 17:41:20 -08:00
John Firebaugh
a805e0b545
Use our own hash implementation
...
We need more flexibility than L.Hash provides.
2013-11-11 14:42:59 -08:00
John Firebaugh
e2f55c1c1b
L.hash expects parseHash to return false if there isn't a location
2013-11-06 12:26:32 -08:00
John Firebaugh
6157280d19
Refactor browsed object loading
2013-10-13 14:46:08 -07:00
John Firebaugh
08a55ed1b5
Remove unused bounds parameters
...
These were used by "View on larger map" links,
which no longer exist.
2013-10-13 14:46:05 -07:00
John Firebaugh
99775524b3
Fix display of browsed objects on map
2013-10-13 14:45:58 -07:00
Tom Hughes
26855add38
Rework piwik configuration
2013-08-24 12:54:51 +01:00
John Firebaugh
78d6bde485
Support background hash parameter for iD
...
Fixes systemed/iD#1590
Fixes systemed/iD#1682
2013-08-12 23:53:41 +01:00
John Firebaugh
f18740a7af
Fix "Edit area" links
2013-08-06 20:20:31 +01:00
John Firebaugh
7ee58d77b7
Wrap permalink coordinates
2013-08-06 09:12:20 -07:00
Tom Hughes
afc46bcd9b
Recognise locations in the hash correctly
2013-08-06 10:23:51 +01:00
John Firebaugh
6618cb9019
Include layers in hash
2013-07-30 15:41:41 -07:00
John Firebaugh
3c22a53c93
Generate hash-based permalinks
2013-07-30 15:41:41 -07:00
John Firebaugh
ce53e510ad
Prefer hash to other methods of determining location
2013-07-30 15:41:41 -07:00
Tom Hughes
4b324f5896
Allow a note=N parameter in the URL to zoom to and open a note
2013-02-03 16:47:30 +00:00
Tom Hughes
7f89545b2c
Police the MAX_NOTE_REQUEST_AREA limit on the client
2012-12-02 14:55:56 +00:00
Tom Hughes
78f608b114
Merge branch 'master' into notes
...
Conflicts:
app/assets/javascripts/browse.js
app/assets/javascripts/map.js.erb
app/assets/stylesheets/common.css.scss
app/views/site/index.html.erb
2012-12-01 18:22:30 +00:00
John Firebaugh
05eba79008
Move "Browse Map Data" to layers control
...
Fixes https://trac.openstreetmap.org/ticket/4680
2012-11-29 18:23:41 +00:00
Tom Hughes
7599f98957
Merge branch 'master' into notes
...
Conflicts:
Gemfile
Gemfile.lock
app/assets/stylesheets/common.css.scss
app/helpers/application_helper.rb
2012-11-20 19:08:30 +00:00
John Firebaugh
379cb35832
Support semicolon as parameter delimiter
...
http://lists.openstreetmap.org/pipermail/rails-dev/2012-November/001259.html
2012-11-05 08:57:05 +00:00
Tom Hughes
0037502426
Merge branch 'master' into notes
...
Conflicts:
Gemfile.lock
app/views/browse/_map.html.erb
app/views/site/index.html.erb
2012-10-13 15:55:34 +01:00
John Firebaugh
3cf3d888b2
Refactor mapParams to compose better with apiUrl
2012-10-05 15:36:07 +01:00
John Firebaugh
e4ef507c5c
Extract OSM.apiUrl
2012-10-05 15:26:54 +01:00
John Firebaugh
c3d1123965
Merge globals.js.erb and params.js
2012-10-05 15:21:47 +01:00