From 8c3bdd5409099a36718d4657b25bef9b682fc376 Mon Sep 17 00:00:00 2001 From: Tykayn Date: Mon, 23 Dec 2024 00:30:04 +0100 Subject: [PATCH] bouton ville au hasard, chercher --- index.html | 14 ++++++++++---- js/main.js | 4 ++++ 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 8bebfa2..8ef0a5e 100644 --- a/index.html +++ b/index.html @@ -111,12 +111,18 @@ prise + + - + + +
diff --git a/js/main.js b/js/main.js index b1ceea7..daadd76 100644 --- a/js/main.js +++ b/js/main.js @@ -623,6 +623,10 @@ $(document).ready(function () { $('#chercherButton').on('click', function () { loadOverpassQuery() }) + $('#setRandomView').on('click', function () { + setRandomView() + loadOverpassQuery() + }) $('#filterUnkown').on('click', function () { console.log('filterUnkown', filterUnkown) display_unknown_max_power_station = cycleVariableState(display_unknown_max_power_station, '#filterUnkown')