Commit graph

34 commits

Author SHA1 Message Date
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