toodego: adapt air quality map to new tiles handling
This commit is contained in:
parent
a8869ec0ff
commit
8ac1d03e3e
|
@ -26,8 +26,20 @@
|
|||
data-max-bounds-lat2="{{ max_bounds.corner2.lat }}"
|
||||
data-max-bounds-lng2="{{ max_bounds.corner2.lng }}"
|
||||
{% endif %}
|
||||
data-cell-id="0"
|
||||
>
|
||||
</div>
|
||||
<script>
|
||||
var tiles_0 = [];
|
||||
{% for layer in tiles_layers %}
|
||||
tiles_0.push({
|
||||
tile_urltemplate: {{ layer.tile_urltemplate|as_json|safe }},
|
||||
map_attribution: {{ layer.map_attribution|as_json|safe }},
|
||||
opacity: {{ layer.opacity|as_json|safe }}
|
||||
});
|
||||
{% endfor %}
|
||||
</script>
|
||||
|
||||
<div class="minitiles">
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue