summaryrefslogtreecommitdiffstats
path: root/viewer
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-02-02 09:34:38 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-02-02 09:34:38 +0100
commit9395b1f01dbcdf965ca17451e24f9e3858ab2a07 (patch)
tree1403f59cf57f85c5f8224a52fcdcea8a180287df /viewer
parente922dd601e5e8c8cafb4f2439c210752f04b43d6 (diff)
downloadMinedMap-9395b1f01dbcdf965ca17451e24f9e3858ab2a07.tar
MinedMap-9395b1f01dbcdf965ca17451e24f9e3858ab2a07.zip
viewer: add repository link
Diffstat (limited to 'viewer')
-rw-r--r--viewer/MinedMap.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/viewer/MinedMap.js b/viewer/MinedMap.js
index 69dee2c..ecb226d 100644
--- a/viewer/MinedMap.js
+++ b/viewer/MinedMap.js
@@ -3,6 +3,8 @@ var MinedMapLayer = L.GridLayer.extend({
this._info = info.info;
this._regions = info.regions;
+ this.options.attribution = 'Generated by <a href="http://git.universe-factory.net/MinedMap/">MinedMap</a>';
+
if (!L.Browser.android) {
this.on('tileunload', this._onTileRemove);
}