214 lines
7.5 KiB
HTML
214 lines
7.5 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">
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
<img class="icon-img" src="img/prise-de-courant.png" alt="prise"> Libre Charge Map
|
|
</h1>
|
|
</header>
|
|
<main>
|
|
|
|
<button id="toggleSidePanel">
|
|
☰
|
|
</button>
|
|
<div id="zoomMessage">
|
|
Zoomez pour voir les stations de recharge
|
|
</div>
|
|
<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>
|
|
<div id='map'>
|
|
|
|
<div class='leaflet-control-container'>
|
|
<div class='leaflet-top leaflet-right'>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</main>
|
|
<div class="side-panel">
|
|
|
|
<div id="bars_power">
|
|
</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 collaborative <a
|
|
href="https://openstreetmap.org">OpenStreetMap</a></p>
|
|
<form onclick="searchLocation()">
|
|
<input type="text" id="searchLocation" placeholder="Rechercher un lieu" class="search-input">
|
|
<button id="searchButton" class="rounded-button">🔍 Rechercher</button>
|
|
</form>
|
|
<button id="removeMarkers" class="rounded-button">
|
|
🗑️ Effacer les marqueurs
|
|
</button>
|
|
<button id="chercherButton" class="rounded-button">
|
|
🔄 Recharger
|
|
</button>
|
|
<button id="setRandomView" class="rounded-button">
|
|
🎲 Une ville au hasard
|
|
</button>
|
|
<button id="sendToJOSM" class="rounded-button">
|
|
🗺️ Éditer dans JOSM
|
|
</button>
|
|
<button id="shareUrl" class="rounded-button">
|
|
📤 Partager l'URL
|
|
</button>
|
|
|
|
<!-- <button id="toggle">-->
|
|
<!-- toggle : montrer les stations avec à minima 150kW de puissance dispo-->
|
|
<!-- </button>-->
|
|
|
|
|
|
<div id="infos_carte"></div>
|
|
|
|
<div id="filters">
|
|
<h2>
|
|
🔍 Filtres:
|
|
</h2>
|
|
<div class="filter-group">
|
|
qualité
|
|
<button id="filterUnkown">kW max inconnu</button>
|
|
<button id="filterChelou">les valeurs chelou</button>
|
|
</div>
|
|
<!-- TODO add more filters-->
|
|
<!-- <div class="filter-group">-->
|
|
<!-- prise:-->
|
|
<!-- <button id="filterType2">type 2</button>-->
|
|
<!-- <button id="filterType2_cable">type 2 avec câble</button>-->
|
|
<!-- <button id="filterType2_combo">type CCS</button>-->
|
|
<!-- <button id="filterType2_combo_cable">type CCS avec câble</button>-->
|
|
<!-- </div>-->
|
|
<!-- <div class="filter-group">-->
|
|
<!-- puissance:-->
|
|
<!-- <button id="filterLower50kw">- de 50kW</button>-->
|
|
<!-- <button id="filterUpper50kw">+ de 50kW</button>-->
|
|
<!-- <button id="filterLower200kw">- de 200 kW</button>-->
|
|
<!-- <button id="filterUpper200kw">+ de 200 kW</button>-->
|
|
<!-- <button class="button" id="toggle_high_power">-->
|
|
<!-- fais voir les plus de 300kW CCS, j'ai pas le time!-->
|
|
<!-- </button>-->
|
|
<!-- </div>-->
|
|
<br>
|
|
<!-- TODO filtrer les bornes selon la puissance -->
|
|
|
|
|
|
</div>
|
|
|
|
<div id="statsChargingStation">
|
|
|
|
<h2 id="toggle-stats" style="cursor: pointer;">
|
|
Puissances des stations: 🔽
|
|
</h2>
|
|
|
|
<div id="found_charging_stations">
|
|
|
|
</div>
|
|
</div>
|
|
<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.
|
|
</p>
|
|
<br>
|
|
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>
|
|
<div class="icones">
|
|
<img class="icon-img" src="img/Type2_Connector_Outline.svg" alt="type2">
|
|
|
|
<img class="icon-img" src="img/type2_combo.svg" alt="prise">
|
|
<img class="icon-img" src="img/Type2_socket.svg" alt="prise">
|
|
<img class="icon-img" src="img/socket_typee.svg" alt="prise">
|
|
<img class="icon-img" src="img/chademo.svg" alt="prise">
|
|
</div>
|
|
<br>
|
|
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>
|
|
|
|
</div>
|
|
<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/main.js'></script>
|
|
<script>
|
|
|
|
|
|
</script>
|
|
</body>
|
|
</html>
|