{% load i18n %} {% load static %} {# TODO: re-revamp this, this is a wrenged quick and dirty solution #} {% with mapid=map_container_id|default:"map" %}
{% with mapstyleid=mapid|add:"_style" %} {{ map_config.style|json_script:mapstyleid }} {% endwith %} {% endwith %}