mirror of
https://forge.chapril.org/tykayn/osm-commerces
synced 2025-06-20 01:44:42 +02:00
up utils
This commit is contained in:
parent
86a870d1e7
commit
2eb80d587d
3 changed files with 68 additions and 73 deletions
|
@ -121,13 +121,7 @@
|
|||
window.location.href = '/admin/labourer/' + document.getElementById('app_admin_labourer').value;
|
||||
}
|
||||
|
||||
// Créer une carte des villes avec les codes postaux
|
||||
let map = new maplibregl.Map({
|
||||
container: 'mapDashboard',
|
||||
style: 'https://api.maptiler.com/maps/basic-v2/style.json?key={{ maptiler_token }}',
|
||||
center: [2.3488, 48.8534], // Paris
|
||||
zoom: 10
|
||||
});
|
||||
|
||||
|
||||
// Fonction pour obtenir la couleur selon le pourcentage
|
||||
function getColorFromPercent(percent) {
|
||||
|
@ -187,7 +181,6 @@ out skel qt;`;
|
|||
<div class="col-12">
|
||||
<h2>Statistiques : {{ stats|length }} codes postaux</h2>
|
||||
|
||||
{# <div id="mapDashboard"></div> #}
|
||||
|
||||
|
||||
<table class="table table-hover table-striped table-responsive js-sort-table">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue