bouton ville au hasard, chercher
This commit is contained in:
parent
18a18e58af
commit
8c3bdd5409
14
index.html
14
index.html
@ -111,12 +111,18 @@
|
|||||||
<img class="icon-img" src="img/chademo.svg" alt="prise">
|
<img class="icon-img" src="img/chademo.svg" alt="prise">
|
||||||
</div>
|
</div>
|
||||||
<button id="removeMarkers">
|
<button id="removeMarkers">
|
||||||
effacer les marqueurs
|
🗑️ Effacer les marqueurs
|
||||||
|
</button>
|
||||||
|
<button id="chercherButton">
|
||||||
|
🔄 Recharger
|
||||||
|
</button>
|
||||||
|
<button id="setRandomView">
|
||||||
|
🎲 Une ville au hasard
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button id="toggle">
|
<!-- <button id="toggle">-->
|
||||||
toggle : montrer les stations avec à minima 150kW de puissance dispo
|
<!-- toggle : montrer les stations avec à minima 150kW de puissance dispo-->
|
||||||
</button>
|
<!-- </button>-->
|
||||||
|
|
||||||
|
|
||||||
<div id="infos_carte"></div>
|
<div id="infos_carte"></div>
|
||||||
|
@ -623,6 +623,10 @@ $(document).ready(function () {
|
|||||||
$('#chercherButton').on('click', function () {
|
$('#chercherButton').on('click', function () {
|
||||||
loadOverpassQuery()
|
loadOverpassQuery()
|
||||||
})
|
})
|
||||||
|
$('#setRandomView').on('click', function () {
|
||||||
|
setRandomView()
|
||||||
|
loadOverpassQuery()
|
||||||
|
})
|
||||||
$('#filterUnkown').on('click', function () {
|
$('#filterUnkown').on('click', function () {
|
||||||
console.log('filterUnkown', filterUnkown)
|
console.log('filterUnkown', filterUnkown)
|
||||||
display_unknown_max_power_station = cycleVariableState(display_unknown_max_power_station, '#filterUnkown')
|
display_unknown_max_power_station = cycleVariableState(display_unknown_max_power_station, '#filterUnkown')
|
||||||
|
Loading…
Reference in New Issue
Block a user