Commit graph

52 commits

Author SHA1 Message Date
Shaun McDonald
4da22eee1a reverting the javascript change in changeset 10926, that needs to be specific to each rails setup (if run out of another dir), until we turn the file into an erb that can insert the rails root into the javascript file 2008-10-10 13:27:21 +00:00
Shaun McDonald
56c972577b fixing hard coded images/scripts, so that the site works better when deploy as a sub directory using passenger phusion. 2008-09-26 15:17:30 +00:00
Tom Hughes
4c2f24440d Add the noname layer to the main map. 2008-09-09 17:50:09 +00:00
Tom Hughes
960d13488a Merge 7922:8377 from trunk. 2008-06-22 12:23:43 +00:00
Tom Hughes
c25a20ff13 Don't try and parse an empty string as a layer config, and cope a bit
better if we do hit the end of the string. Closes #942.
2008-06-02 12:45:24 +00:00
Tom Hughes
88105d9c64 Merge 7744:7922 from trunk. 2008-05-28 16:37:31 +00:00
Tom Hughes
436012c697 Make the layer attribute a bit less fragile - base layers and overlays are
now treated separately so that adding a new base laser doesn't break things.
2008-05-20 23:37:06 +00:00
Tom Hughes
0623e88d39 Add the cycle map to the main site. 2008-05-19 09:57:58 +00:00
Tom Hughes
4d8ea0eed0 Only add the data layer to the main map, and use the visibility changed
event to handle turning the data layer on and off.
2008-05-11 14:41:11 +00:00
Tom Hughes
5620d7263a Merge 7452:7744 from trunk. 2008-05-09 23:22:26 +00:00
Tom Hughes
935656bfbe Underline links in the SOTM box. 2008-04-27 15:40:48 +00:00
Christopher Schmidt
e6de9accd2 move data into a layer in the layerswitcher 2008-04-23 13:59:41 +00:00
Christopher Schmidt
e03605929b Fix offset when laying in vectors on top of the OSM tiles. 2008-04-20 13:16:29 +00:00
Tom Hughes
db30a423a8 Commit crschmdt's data browser patch. 2008-04-20 12:20:23 +00:00
Tom Hughes
ab62a4b453 Do the transform the right way round. 2008-04-19 14:32:40 +00:00
Tom Hughes
ff10be4855 Use the right variable for the event. 2008-04-19 14:27:57 +00:00
Tom Hughes
97a4e25f90 Add numZoomLevels to the map. 2008-04-19 14:00:11 +00:00
Tom Hughes
4cc400de43 Merged 7296:7388 from rails_port trunk. 2008-04-16 23:52:32 +00:00
Tom Hughes
599c48227a Ajaxify the export tab. 2008-04-16 23:45:16 +00:00
Tom Hughes
b8c500cdbc Get rid of our reprojection code and use OpenLayers reprojection instead. 2008-04-16 17:18:45 +00:00
Tom Hughes
25885677e2 Use OL 2.6 auto sizing for popups instead of doing it ourselves. 2008-04-16 08:49:55 +00:00
Tom Hughes
2b35dadd5f Add a scale control to the map. Closes #51. 2008-04-16 08:04:44 +00:00
Tom Hughes
7f34e5e8fc Really remove it this time... 2008-04-11 19:56:56 +00:00
Tom Hughes
790c4c1937 Remove accidental commit of my local mapnik layer. 2008-04-11 19:56:29 +00:00
Tom Hughes
0d60c39721 Fix IE breakage. 2008-04-11 19:40:32 +00:00
Tom Hughes
93029ab7aa Turn on wrapDateLine for all layers.
Also correct the declared projection for the markers layer.
2008-04-11 17:54:51 +00:00
Tom Hughes
1df50231fa Commit initial work on export tab. 2008-04-07 23:23:15 +00:00
Tom Hughes
253c10393d Use PanZoomBar instead of PanZoom. 2008-02-14 18:51:52 +00:00
Tom Hughes
fae8295ec2 Disable keyboard control of the map as it causes problems by catching
keypresses in other parts of the page. Closes #659.
2008-02-03 23:57:37 +00:00
Tom Hughes
a31e61169c Back out attempt to commit partial support for POIs as this is not at
all ready for prime time yet.
2008-01-08 18:23:56 +00:00
Nick Whitelegg
2e03861300 Began code for feature lookup: implemented code to respond to mouse click and latlon to non spherical Mercator (for the postgis database) 2008-01-07 20:25:12 +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
880997c7da Don't show the marker layer in the layer switcher. 2007-12-30 17:27:47 +00:00
Tom Hughes
1e9483fe72 Set extent information for the marker layer. 2007-12-07 00:15:21 +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
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
4c3b59fe25 Set number of zoom levels on a per layer basis. Closes #603. 2007-12-04 00:42:08 +00:00
Tom Hughes
f5c9a41e87 Use the new OSM OpenLayers stuff. 2007-11-28 19:24:58 +00:00
Tom Hughes
39e77df344 Add keyboard shortcuts to the slippy map. 2007-11-21 09:51:55 +00:00
Tom Hughes
bcf2fe5129 Spread T@H over three host names. 2007-11-09 15:29:30 +00:00
Tom Hughes
5ac70d8946 Use the tah.opstreetmap.org domain name for the T@H layer. 2007-11-07 08:25:11 +00:00
Tom Hughes
63bd068f2e Get URL selection right... 2007-10-10 15:00:13 +00:00
Tom Hughes
c941bc197c Give OpenLayers three different hosts (all really pointing at tile) to
get mapnik tiles from so it loads tiles more quickly.
2007-10-10 14:45:44 +00:00
Tom Hughes
28e9a84da2 Fix automatic size detection for map popups. 2007-08-23 14:49:42 +00:00
Tom Hughes
bea82b27ba Return a pointer to the 404 tile for out of bounds latitudes. 2007-08-14 10:05:36 +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
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
48a3a317bc Use Math.PI instead of defining it ourselves (and sometimes forgetting). 2007-06-30 11:25:53 +00:00