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
View File
@@ -62,6 +62,7 @@
</div>
<script>
var tileUrl = '<?= $_ENV['LEAFLET_TILESERVER_URL'] ?>';
var tileAttribution = '<?= $_ENV['LEAFLET_TILESERVER_ATTRIBUTION'] ?>';
var mapId = <?= $mapId ?>;
var mapBounds = <?= json_encode($bounds) ?>;
var places = <?= json_encode($places, JSON_FORCE_OBJECT) ?>;