Commit graph

177 commits

Author SHA1 Message Date
Richard Fairhurst
1fcd5f5593 Potlatch v0.2a: display GPS traces, some bugfixes 2007-09-12 10:07:26 +00:00
Tom Hughes
ed8b7fde42 Don't allow Potlatch to be started with a zoom below 11. 2007-08-31 12:57:32 +00:00
Tom Hughes
786bc55209 The search help has now moved to the Search page on the wiki, which
previously contained out of date information on searching.
2007-08-30 10:59:02 +00:00
Tom Hughes
50ba644602 Setup the layers before adding any marker so that the marker layer
will get turned on if it was off in the layers string.
2007-08-30 10:42:32 +00:00
Tom Hughes
3db77411b8 Don't break when the user isn't logged in... 2007-08-24 19:06:25 +00:00
Tom Hughes
d2bd78627e More search improvements - a "Where am I?" link that does a reverse
search, and various cleanups to the previous changes.
2007-08-24 18:53:30 +00:00
Tom Hughes
215958fa0f Only include the home link if the user is logged in. 2007-08-24 17:47:57 +00:00
Tom Hughes
6cd8db7bff Only put the 'home' link in the top left on the map and edit pages, and
make it update position in place rather than reloading the page.
2007-08-24 17:43:15 +00:00
Tom Hughes
034982a12f If a search only finds one result then jump straight to it instead of
opening a list of results.
2007-08-24 17:38:36 +00:00
Tom Hughes
0a8c26e596 Various updates to the user management, including the creation of a
preferences table and moving tokens into a tokens table so that a user
can have more than one.
2007-08-14 23:07:38 +00:00
Tom Hughes
96eea9da7f Put the link to the map key back. 2007-08-08 23:08:28 +00:00
Tom Hughes
a2ffd990fb Link to new search help page. 2007-08-08 21:23:37 +00:00
Tom Hughes
5ffb6950cc Use David Earl's arrow icon to show the position of a search result. 2007-08-08 16:57:09 +00:00
Tom Hughes
6706ca3c50 Use IP GeoLocation to choose a default view for the slippy map if
we don't have any better ideas.
2007-08-08 12:37:16 +00:00
Tom Hughes
c1f1b99cdc Update OpenSearch plugin to work with new search system. 2007-08-08 08:47:29 +00:00
Tom Hughes
f3c7511643 Add some help to the search box. 2007-08-08 08:29:31 +00:00
Tom Hughes
2408dd333f Add a marker to the map when clicking on a search result. 2007-08-07 23:17:13 +00:00
Tom Hughes
6c02cd4b5f Commit SteveC's removal of the mappam ads. 2007-08-07 17:12:29 +00:00
Tom Hughes
397db07d65 New improved geocoder with extra added AJAX and OSM Namefinder support. 2007-08-07 17:09:37 +00:00
Tom Hughes
1ff72de318 Bloomin Americans that can't spell... 2007-07-29 16:26:57 +00:00
Tom Hughes
7e6a315104 Fix typo. 2007-07-29 16:25:13 +00:00
Tom Hughes
cbb7d97405 Add support for displaying a map covering a specified bounding box. 2007-07-29 14:26:42 +00:00
Tom Hughes
9634ab8fc1 Remember which layers are active in the cookie and URLs. 2007-07-29 14:06:04 +00:00
Tom Hughes
10e13b8fea Use a cookie to remember the last location viewed on the slippy map. 2007-07-28 00:07:31 +00:00
Tom Hughes
985047f18d User null to indicate the the user's home location is not set. 2007-07-27 17:46:01 +00:00
Tom Hughes
9dbe1a497a Add a flag to allow the API to be placed in read-only mode. 2007-07-26 17:15:23 +00:00
Steve Coast
48a3ee4d24 move zoom in one level by default 2007-07-25 08:34:37 +00:00
Tom Hughes
8afc6abb7e Allow the map centre and marker position to be set independently. 2007-07-16 09:42:17 +00:00
Tom Hughes
37e74fc5cb Make the slippy map work properly on IE7 at last! 2007-06-30 15:47:35 +00:00
Tom Hughes
b92e1b0584 Fix some HTML validation issue. 2007-06-30 12:09:28 +00:00
Tom Hughes
4358a6adcb Only do mappam for www.openstreetmap.org and openstreetmap.org to stop
the annoying "wrong API key" errors popping up all the time on my test
environment.
2007-06-29 14:54:55 +00:00
Steve Coast
5a66dbf907 add mappam... also stuff in user controller that must have been done by TomH? 2007-06-29 10:18:08 +00:00
Tom Hughes
5fcedc1bf4 Unconfuse OpenLayer's base location detection. 2007-06-23 18:35:04 +00:00
Tom Hughes
9619dfdb4b Factor out javascript code to support OpenLayers maps into a common file
that is shared by both the (current) pages that display maps.
2007-06-23 18:29:01 +00:00
Tom Hughes
8b79f7ff0f Set the map units to something OpenLayers actually understands... 2007-06-21 08:16:50 +00:00
Tom Hughes
b609606740 Adding missing parentheses. 2007-06-20 00:08:29 +00:00
Tom Hughes
e9d3d4d19b Add missing CSS and image resources from OpenLayers 2.4 release and
reorganise things to keep OpenLayers stuff together.
2007-06-20 00:06:02 +00:00
Tom Hughes
cbf2dea611 Allow access to all zoom levels again. 2007-06-15 13:47:08 +00:00
Tom Hughes
af5fa9e0ca Upgrade OpenLayers to the 2.4 release. 2007-06-15 13:11:05 +00:00
Tom Hughes
7b9272ffa6 Make sure we always put a valid URL on the edit tab, and allow switching
to the editor to work from z11 instead of z14 as that is what Potlatch
supports.

Also fix default zooms for Potlatch when no position is given.
2007-06-13 10:02:37 +00:00
Tom Hughes
f7f2b7482d Add the search boxes to the edit page. 2007-06-12 16:51:12 +00:00
Tom Hughes
945e4ddcc8 Set the lat and long on the view and edit tabs when the map is loaded. 2007-06-12 10:13:15 +00:00
Tom Hughes
aa52ebe674 User form_tag/end instead of start_form_tag/end_form_tag to avoid
deprecation warnings.
2007-06-10 23:22:56 +00:00
Richard Fairhurst
6efdcaa993 Latest Potlatch, plus TomH's GPX fix 2007-06-06 09:59:59 +00:00
John McKerrell
124cd67ac8 Hiding the element and then, shortly after, redisplaying it makes IE6 re-render
things correctly.
2007-05-28 14:52:06 +00:00
Richard Fairhurst
bac5d79c72 zoom 2007-05-18 16:41:41 +00:00
Richard Fairhurst
0944c1cf02 Potlatch-on-Rails, ready to go (fingers crossed) 2007-05-18 15:20:31 +00:00
Robert (Jamie) Munro
aba184e7be Added message about editor not working yet. 2007-05-16 13:56:58 +00:00
Richard Fairhurst
220ad0a6b6 Potlatch on Rails, first working version 2007-05-08 00:37:58 +00:00
John McKerrell
fbc431f464 Typo in IE6 fix made it not work quite right. 2007-05-07 18:45:10 +00:00