Commit graph

817 commits

Author SHA1 Message Date
Tom Hughes
5bf4ce35c0 Fix picture generation to avoid truncating the sides of the image for
a trace that is wider than it is tall.
2008-01-05 15:23:04 +00:00
Richard Fairhurst
8074c3ba82 Potlatch 0.6a: small bugfixes, read GPX waypoints 2008-01-04 00:26:46 +00:00
Tom Hughes
26f28764dc Update the links when the active layers change.
Closes #622.
2008-01-02 09:54:19 +00:00
Tom Hughes
fb17928db1 Make the Maplint layer off by default. 2007-12-31 11:33:21 +00:00
Tom Hughes
3cd04f7db4 Don't set the layers argument if the caller didn't specify it. 2007-12-31 10:13:36 +00:00
Tom Hughes
be26b89c3f Add a maplint layer to the map. Note that the t@h server currently serves
solid grey tiles for tiles which are not in the database which limits the
utility of this.

Closes #484.
2007-12-31 09:08:30 +00:00
Tom Hughes
9f05234542 Add a Maplint layer (OpenLayers.Layer.OSM.Maplint) class. Note that the
t@h server currently serves solid grey tiles for tiles which are not in
the database which limits the utility of this.

Closes #612.
2007-12-31 09:06:22 +00:00
Tom Hughes
880997c7da Don't show the marker layer in the layer switcher. 2007-12-30 17:27:47 +00:00
Richard Fairhurst
64653788db zoom level for Yahoo 2007-12-24 21:32:55 +00:00
Richard Fairhurst
32c502cb27 don't ignore outdated baselayer values; fix maximum zoom 2007-12-24 21:18:59 +00:00
Richard Fairhurst
fbbb89ceed Potlatch 0.6: autocomplete keys/values 2007-12-23 13:41:26 +00:00
Richard Fairhurst
7acbc0c7c6 autocomplete (not compiled for now) and start of tile support 2007-12-23 12:59:59 +00:00
Tom Hughes
90fa3e650b Ban (for now at least) searching of nodes, and searching for a key
without giving a value as both of these will lock the server up for
a long time.
2007-12-22 11:55:15 +00:00
Tom Hughes
d6f6e4c7c1 Third time lucky - what it really wants is a hash of node IDs... 2007-12-20 10:33:25 +00:00
Tom Hughes
24ac6b49f7 The to_xml_node method for a way wants a list of node IDs, not a list
of nodes...
2007-12-20 10:23:46 +00:00
Tom Hughes
028f94fcca Pass the node list to to_xml_node when outputting a way so that it
lists the nodes in the way properly.
2007-12-20 10:21:22 +00:00
Tom Hughes
5400a938a8 Optimise tag searching of ways and relations a bit more... 2007-12-20 10:15:45 +00:00
Tom Hughes
a617159352 Optimise search queries for ways and relations to stand some chance
of being efficient.
2007-12-20 09:50:08 +00:00
Richard Fairhurst
3461b7a699 attempt fix for anon users 2007-12-12 20:17:12 +00:00
Richard Fairhurst
df3db35c96 enable revert 2007-12-09 15:20:47 +00:00
Richard Fairhurst
e6bded606a fix POI moving bug 2007-12-07 17:30:20 +00:00
Tom Hughes
1e9483fe72 Set extent information for the marker layer. 2007-12-07 00:15:21 +00:00
Tom Hughes
0c549650eb Change postcode searches to use z15 instead of z12. 2007-12-07 00:12:49 +00:00
Tom Hughes
8b7d73ebb6 Make sure we load OpenLayers resources from the right place. 2007-12-06 18:59:36 +00:00
Tom Hughes
15c492ebfe Try and make asset tagging actually work. 2007-12-06 18:42:45 +00:00
Tom Hughes
7ee377352e Move scale/resolution configuration to the base layers so that
people dragging in our customer layers don't need to worry about
setting the magic numbers.
2007-12-06 14:18:30 +00:00
Tom Hughes
3ed64ceb54 Set the number of zoom levels for the marker layer based on the
maximum number of zoom levels of any of the base layers.
2007-12-06 13:46:56 +00:00
Tom Hughes
c1299fbb35 Use the z13 key for z13 and over. 2007-12-05 12:15:41 +00:00
Tom Hughes
4c3b59fe25 Set number of zoom levels on a per layer basis. Closes #603. 2007-12-04 00:42:08 +00:00
Richard Fairhurst
ede76d8dc5 DROP TEMPORARY TABLE so Tom can turn the privs down 2007-12-03 17:15:07 +00:00
Richard Fairhurst
0ab2db3979 move preset tags and colours into config files 2007-12-01 10:32:35 +00:00
Tom Hughes
8225f0a6ea Reenable trace uploads. 2007-12-01 00:34:55 +00:00
Richard Fairhurst
5fd514fee3 further refinement to revert 2007-11-30 20:52:38 +00:00
Tom Hughes
52276be4a9 Disable GPX uploads. 2007-11-30 18:49:55 +00:00
Richard Fairhurst
e0c9a8c6d5 slight revert changes 2007-11-30 18:40:57 +00:00
Tom Hughes
b0ca73a7f9 Remove executable flag from Potlatch presets file. 2007-11-30 18:22:36 +00:00
Steve Chilton
994b9391cb new key for z13. revised keys to z8, z10, z11, z12 2007-11-30 13:00:31 +00:00
Tom Hughes
6d6c9ddc8c Specify display_name and tag explicitly when generating pagination links
as they don't always seem to be default correctly. Closes #561.
2007-11-30 01:27:14 +00:00
Tom Hughes
cb7436602d Hide the OpenLayers attribution control when printing - we print an
attribution under the map anyway. Also add a border round the map when
printing.
2007-11-28 23:59:39 +00:00
Richard Fairhurst
914cad0aa2 show nearest 10 users (request by Blackadder) 2007-11-28 22:07:24 +00:00
Tom Hughes
b82c10bcd1 Make attribution less cheesy. 2007-11-28 19:25:46 +00:00
Tom Hughes
f5c9a41e87 Use the new OSM OpenLayers stuff. 2007-11-28 19:24:58 +00:00
Tom Hughes
29645d2d29 Add a javascript file to provide OSM layers for OpenStreetMap. 2007-11-28 18:59:05 +00:00
Tom Hughes
2ba147e7fa Clear gotele and gotdate when we see the start of a trkpt element to
avoid inheriting previous data.
2007-11-26 16:28:28 +00:00
Richard Fairhurst
58e50383f9 bugfix for non-intersecting intersections (trac #592) 2007-11-26 14:29:31 +00:00
Tom Hughes
cb330ffd7a Force new users to enter their email address twice to try and avoid so
many incorrect email addresses with typos in...
2007-11-25 12:38:48 +00:00
Tom Hughes
f09b16cade When asked for ways which use a node, or relations which use some given
object, return 200 OK with an empty document if not matches are found
rather than 400 Bad Request (for ways) or 404 Not Found (for relations).
2007-11-24 14:47:50 +00:00
Tom Hughes
300c3b4ed4 Work round ruby's horribly broken URI.escape that deliberately doesn't
escape most characters which have special meaning in URIs...
2007-11-24 14:36:21 +00:00
Tom Hughes
7de4cb19b8 Wrap evaluation of default values for parameters inside the HTML escaping
as that causes nil to become "" hence defeating the conditional default.
2007-11-24 14:13:21 +00:00
Tom Hughes
144640c9ed Fix tag splitting. 2007-11-24 01:00:53 +00:00