0

Set the attribution prefix

This commit is contained in:
Nicolas F
2018-05-06 17:44:07 +02:00
parent 05cc9e60e7
commit 12c12d128f

View File

@@ -158,6 +158,9 @@ overviewer.util = {
crs: L.CRS.Simple, crs: L.CRS.Simple,
minZoom: 0}); minZoom: 0});
overviewer.map.attributionControl.setPrefix(
'<a href="https://overviewer.org">Overviewer/Leaflet</a>');
overviewer.map.on('baselayerchange', function(ev) { overviewer.map.on('baselayerchange', function(ev) {
overviewer.current_layer[overviewer.current_world] = ev.layer; overviewer.current_layer[overviewer.current_world] = ev.layer;
var ovconf = ev.layer.tileSetConfig; var ovconf = ev.layer.tileSetConfig;