Commit 757d19d2 authored by ornanovitch's avatar ornanovitch 🐃

réglage plus fin du zoom carte & enlever arrondissements liste

parent b24ddffb
......@@ -96,14 +96,14 @@
{{ parent() }}
<script>
// On initialise la latitude et la longitude de Lyon (centre de la carte)
let lat = 45.75;
let lon = 4.85;
let zoom = 12; // Zoom de la carte par défaut
let lat = 45.72;
let lon = 4.87;
let zoom = 11; // Zoom de la carte par défaut
L.mapbox.accessToken = 'pk.eyJ1Ijoib3JuYW5vdml0Y2giLCJhIjoiY2p3N2x0d3ppMDBuaDQ4cHJ6MHY3cDFxZiJ9.Q4eERFvBjjwvfPf3u-AXpQ';
let map = L.mapbox.map('map', null, { zoomControl: false})
.setView([lat, lon], zoom)
.setMinZoom(12)
.setMinZoom(11)
.addLayer(L.mapbox.styleLayer('mapbox://styles/ornanovitch/cjw7lvo9e04db1cqnlzzepxbr'));
new L.Control.Zoom({ position: 'topright' }).addTo(map);
......
......@@ -14,7 +14,7 @@
{% for theater in theaters|sort((a, b) => a.city <=> b.city) %}
{% if city != theater.city %}
<div class="h5 pl-0 m-0 list-group-item disabled bg-dark text-light font-weight-bold">
{{ theater.city|upper }}
{{ theater.city|upper|replace({'E ARRONDISSEMENT': '','ER ARRONDISSEMENT': ''}) }}
</div>
{% endif %}
<a class="h4 m-0 list-group-item bg-light text-dark" href="{{ path('theater_show_visitors' ,{'id': theater.id}) }}">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment