Commit graph

21 commits

Author SHA1 Message Date
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
Tom Hughes
2804e77cc3 With much assistance from kleptog, make the map wrap when zoomed right out. 2007-06-29 15:43:14 +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