aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Beaupré <anarcat@koumbit.org>2012-08-11 11:15:31 -0400
committerAntoine Beaupré <anarcat@koumbit.org>2012-08-25 08:20:30 -0400
commit2fb93db1afea846447cfe8ce723af80e2aa25882 (patch)
tree9ea1bad24e2a6716facf68c05e1b1cb81931c128
parentac775ef8e72170102f8db94dc56c6add861234ed (diff)
downloadikiwiki-2fb93db1afea846447cfe8ce723af80e2aa25882.tar
ikiwiki-2fb93db1afea846447cfe8ce723af80e2aa25882.tar.gz
simplify local tile code, uniform titles
-rw-r--r--underlays/osm/ikiwiki/osm.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/underlays/osm/ikiwiki/osm.js b/underlays/osm/ikiwiki/osm.js
index c41aeeb1f..4f53b1dc8 100644
--- a/underlays/osm/ikiwiki/osm.js
+++ b/underlays/osm/ikiwiki/osm.js
@@ -42,10 +42,9 @@ function mapsetup(divname, options) {
});
if (options.mapurl) {
- var newLayer = new OpenLayers.Layer.OSM("Local Tiles", options.mapurl);
- map.addLayer(newLayer);
+ map.addLayer(new OpenLayers.Layer.OSM("OpenStreetMap (Local)", options.mapurl));
} else {
- map.addLayer(new OpenLayers.Layer.OSM());
+ map.addLayer(new OpenLayers.Layer.OSM("OpenStreetMap (Mapnik)"));
}
// this nightmare is possible through http://docs.openlayers.org/library/spherical_mercator.html