libre-charge-map/index.html
2025-04-28 12:28:43 +02:00

261 lines
No EOL
9.7 KiB
HTML

<!DOCTYPE html>
<html lang='fr'>
<head>
<title>LibreChargeMap - OSM Bliss</title>
<meta charset='utf-8'>
<meta property="og:type" content="website">
<meta property="og:title" content="LibreChargeMap - OSM Bliss">
<meta property="og:description"
content="Carte mondiale visualisant les bornes de recharges pour véhicule électrique à partir des données OpenStreetMap.">
<meta property="og:image" content="https://libre-charge-map.cipherbliss.com/libre-charge-map_overview.jpg">
<meta property="og:image:width" content="3436">
<meta property="og:image:height" content="1086">
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no'>
<link rel='stylesheet' href='styles/leaflet.css' />
<link rel="stylesheet" href="https://unpkg.com/leaflet-geosearch@3.1.0/dist/geosearch.css" />
<link rel='stylesheet' href='styles/style.css' />
<meta name="viewport"
content="width=device-width, initial-scale=1.0, user-scalable=yes, minimum-scale=0.25, maximum-scale=5.0">
<link rel="shortcut icon" href="img/french.png">
</head>
<body class="side-panel-open">
<div id="bars_power">
</div>
<header>
<h1>
<img class="icon-img" src="img/prise-de-courant.png" alt="prise"> Libre Charge Map
</h1>
</header>
<div class="research_display">
<div id='spinning_icon'>
<svg id='star' width='4cm' height='4cm' viewBox='0 0 700 400' xmlns='http://www.w3.org/2000/svg'
version='1.1'>
<polygon fill='red' stroke='red' stroke-width='10' points='350,75 379,161 469,161 397,215
423,301 350,250 277,301 303,215
231,161 321,161' />
</svg>
</div>
</div>
<main>
<!-- <button id="toggleSidePanel">
</button> -->
<div id="zoomMessage">
Zoomez pour voir les stations de recharge
</div>
<div id='map'>
<div class='leaflet-control-container'>
<div class='leaflet-top leaflet-right'>
</div>
</div>
</div>
</main>
<div class="side-panel">
<form onclick="searchLocation()">
<!-- <fieldset>-->
<input type="text" id="searchLocation" placeholder="Rechercher un lieu" class="search-input">
<button id="searchButton" class="rounded-button">🔍</button>
<select id="searchResults" class="search-results" size="5" style="display: none;"></select>
<!-- </fieldset>-->
</form>
<div id="current_station_infos"></div>
<div id="round_power_legend">
<br>
<span class="marker-demo">
<span class="map-marker-circle-demo color-unknown"></span> ?
</span>
<span class="marker-demo">
<span class="map-marker-circle-demo color-1"></span> > 7 kW
</span>
<span class="marker-demo">
<span class="map-marker-circle-demo color-2"></span> > 20 kW
</span>
<span class="marker-demo">
<span class="map-marker-circle-demo color-3"></span> > 50 kW
</span>
<span class="marker-demo">
<span class="map-marker-circle-demo color-4"></span> > 100 kW
</span>
<span class="marker-demo">
<span class="map-marker-circle-demo color-5"></span> > 200 kW
</span>
<span class="marker-demo">
<span class="map-marker-circle-demo color-6"></span> > 300 kW
</span>
</div>
<p>Cartes des stations de recharge pour véhicules électriques basée sur les données collaboratives <a
href="https://openstreetmap.org">OpenStreetMap</a></p>
<!-- <div id="infos_carte"></div> -->
<div id="filters">
<h2 id="toggleFilter">
⚙️ Filtres:
</h2>
<div class="filter-group">
<p>
<label for="filter_max_output">
Afficher les stations avec une puissance supérieure à:
</label>
<input type="range" min="1" max="400" value="3" class="slider" id="filter_max_output_slider">
<span id="filter_max_output_display">
3 kW
</span>
</p>
<div class="filter-sockets">
<h3>Types de prises</h3>
<label>
<input type="checkbox" id="filterCableAttached">
<span class="checkbox-custom"></span>
<span>Prise avec câble attaché</span>
</label>
<label>
<input type="checkbox" id="filterCCS">
<span class="checkbox-custom"></span>
<!-- <span>Prise CCS</span> -->
<img class="icon-img" src="img/type2_combo.svg" alt="prise">
</label>
<label>
<input type="checkbox" id="filterType2">
<span class="checkbox-custom"></span>
<img class="icon-img" src="img/Type2_socket.svg" alt="prise">
<!-- <span>Prise Type 2</span> -->
</label>
<label>
<input type="checkbox" id="filterDomestic">
<span class="checkbox-custom"></span>
<img class="icon-img" src="img/socket_typee.svg" alt="prise">
<!-- <span>Prise domestique</span> -->
</label>
<label>
<input type="checkbox" id="filterChademo">
<span class="checkbox-custom"></span>
<img class="icon-img" src="img/chademo.svg" alt="prise">
<!-- <span>Prise CHAdeMO</span> -->
</label>
<label>
<input type="checkbox" id="filterType1">
<span class="checkbox-custom"></span>
<span>Prise Type 1</span>
</label>
<label>
<input type="checkbox" id="filterType3">
<span class="checkbox-custom"></span>
<span>Prise Type 3</span>
</label>
</div>
<hr>
<h3>Qualité des données</h3>
<label>
<input type="checkbox" id="filterUnkown">
<span class="checkbox-custom"></span>
<span>❓ kW max inconnu</span>
</label>
</div>
</div>
<div id="statsChargingStation">
<button id="setRandomView" title="Afficher une ville aléatoire">
<span class="icon-img">🎲</span>
</button>
<button id="removeMarkers" title="Supprimer les points de charge">
<span class="icon-img">🗑️</span>
</button>
<h2 id="toggle-stats" style="cursor: pointer;">
🚀 Puissances des stations: 🔽
</h2>
<div id="found_charging_stations">
</div>
<div class="footland">
<hr>
<h2 class="title">
À propos de ce plan</h2>
<p>
La carte thématique proposant des points de charge pour véhicule électrique, basée sur les données
d'OpenStreetMap. Voir la documentation OSM concernant <a
href="https://wiki.openstreetmap.org/wiki/Key:socket:*">les sockets</a> et les
<a href="https://wiki.openstreetmap.org/wiki/FR:Tag:amenity%3Dcharging_station">
stations de recharge pour véhicules électriques
</a>.
<br>
Les analyses Osmose proposent l'intégration de stations de recharges issues de l'open data sur les
IRVE
de
Data Gouv. Vous pouvez les désactiver dans les filtres de calques. Quand les stations existantes
sont
activées, seules les analyses osmoses avec un minimum de distance sont affichées.
</p>
<p>
Fait par <a href="https://mastodon.cipherbliss.com/@tykayn">Tykayn</a> - <a
href="https://www.cipherbliss.com">www.cipherbliss.com</a>.
<a href="https://forge.chapril.org/tykayn/">Sources disponibles sur la forge du Chapril.</a>
<br>
<span class="small">
icones
câble électrique <a href="https://www.flaticon.com/fr/icones-gratuites/energie"
title="energie icônes">Energie
icônes créées par rukanicon - Flaticon</a>
</span>
</p>
</div>
</div>
<div id='count_features_fond'>
</div>
</div>
<br>
<script src='js/leaflet.js'></script>
<script src='js/jquery-3.2.1.min.js'></script>
<script src="https://unpkg.com/leaflet-geosearch@3.1.0/dist/bundle.min.js"></script>
<script src='js/osmtogeojson.js'></script>
<script type='module' src='js/lcm_main.js'></script>
<script>
</script>
</body>
</html>