{% set id = id|default('mapid') %}
{% set style = style|default('') %}
{% set title = title|default('Carte') %}
{% set rubriquesFilter = getRubriqueFiltersForPrestaMap() %}

<div class='cartetitle mb-3'>
	<h4><i class="fa fa-map"></i> {{title}}</h4>
</div>
<div id="{{id}}" style="{{style}}" class='my-3'></div>
<div>
{% for rubrique in rubriquesFilter %}
<button class="btn btn-primary presta-map-filter" data-rubrique-slug="{{rubrique.slug}}">{{ rubrique.name }}</button>
{% endfor %}
</div>