MAPG-126 add configurable attribution for Leaflet maps

This commit is contained in:
bence committed 2020-06-11 00:14:30 +02:00
1 parent 2fc0ab557f
commit a0d1e8778c
3 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -351,7 +351,6 @@
};
MapEditor.map = L.map('map', {
attributionControl: false,
zoomControl: false
});
@@ -371,6 +370,7 @@
var highResData = Util.getHighResData();
L.tileLayer(tileUrl, {
attribution: tileAttribution,
subdomains: '1234',
ppi: highResData.ppi,
tileSize: highResData.tileSize,