MAPG-126 add configurable attribution for Leaflet maps
This commit is contained in:
1 parent
2fc0ab557f
commit
a0d1e8778c
3 files changed
+3
-1
No files matched your search
@@ -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) ?>;
|
||||
|
||||
Reference in new issue
Block a user