added leaflet subdomains to the environment variables, which are used now for initializing a leaflet map
default-pipeline default-pipeline #182

This commit is contained in:
balazs committed 2021-05-08 18:20:54 +02:00
1 parent 430b32d0c6
commit e6819b6dd3
3 files changed
+3 -1

No files matched your search

+1
View File
@@ -94,6 +94,7 @@
@section(pageScript)
<script>
var tileUrl = '<?= $_ENV['LEAFLET_TILESERVER_URL'] ?>';
var tileSubdomains = '<?= $_ENV['LEAFLET_TILESERVER_SUBDOMAINS'] ?>';
var tileAttribution = '<?= $_ENV['LEAFLET_TILESERVER_ATTRIBUTION'] ?>';
var mapId = <?= $mapId ?>;
var mapBounds = <?= json_encode($bounds) ?>;