Commit final

This commit is contained in:
2023-03-31 17:39:07 +02:00
parent 16ccb50e11
commit c91b652b16
9 changed files with 130 additions and 135 deletions

View File

@@ -80,13 +80,11 @@
school: school,
popupEnabled: true
})
console.log("popup!")
},
closePopup(){
this.update({
popupEnabled: false
})
console.log("closed!")
}
}
</script>

View File

@@ -22,9 +22,9 @@
</ul>
<p>Admis hors académie : {100-props.school.fields.pct_aca_orig}%</p>
</div>
<div class="column">
<!--<div class="column">
<p>Vitesse de remplissage :</p>
</div>
</div>-->
</div>
<div class="m-4">
<line-graph title="Répartition par genre" data={state.genreStats} style="height: 6rem;"></line-graph>

View File

@@ -110,8 +110,9 @@
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
maxZoom: 19,
attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
}).addTo(state.map);
} else (state.map) {
}).addTo(state.map)
} else if (props.shouldShowInfos) {
state.markers.clearLayers()
for (let school of state.filteredSchoolList) {
let fields = school.fields