projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac775ef
)
simplify local tile code, uniform titles
author
Antoine Beaupré
<anarcat@koumbit.org>
Sat, 11 Aug 2012 15:15:31 +0000
(11:15 -0400)
committer
Antoine Beaupré
<anarcat@koumbit.org>
Sat, 25 Aug 2012 12:20:30 +0000
(08:20 -0400)
underlays/osm/ikiwiki/osm.js
patch
|
blob
|
history
diff --git
a/underlays/osm/ikiwiki/osm.js
b/underlays/osm/ikiwiki/osm.js
index c41aeeb1f37c37b64a16832ce1bc8e0e0bc615b3..4f53b1dc8e2c97798ed93e9d0fa1d74139ed56d6 100644
(file)
--- 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