Remove files
This commit is contained in:
parent
90b74efe01
commit
3882a017d9
@ -1,100 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Carte du parcours</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" />
|
||||
<style>
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
margin: 20px;
|
||||
background-color: whitesmoke ;
|
||||
}
|
||||
#container {
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
}
|
||||
#map {
|
||||
height: 600px;
|
||||
width: 60%;
|
||||
border-radius: 5%;
|
||||
border: 1px solid #aaa;
|
||||
}
|
||||
#fiche {
|
||||
width: 40%;
|
||||
max-height: 600px;
|
||||
overflow-y: auto;
|
||||
border: 1px solid #aaa;
|
||||
padding: 10px;
|
||||
box-sizing: border-box;
|
||||
background-color:#095228;
|
||||
border-radius: 5%;
|
||||
}
|
||||
body h1 {
|
||||
display:flex;
|
||||
align-items:center;
|
||||
justify-content:center;
|
||||
text-align: center;
|
||||
color: blue;
|
||||
font-style: bold;
|
||||
margin-bottom: 20px;
|
||||
background-color:#70726e;
|
||||
border-radius:12px;
|
||||
height: 75px;
|
||||
}
|
||||
#fiche h2{
|
||||
color:white;
|
||||
}
|
||||
#fiche p{
|
||||
color:white;
|
||||
}
|
||||
#fiche img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
margin-top: 10px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Fiche du parcours</h1>
|
||||
<div id="container">
|
||||
<div id="map"></div>
|
||||
<div id="fiche">
|
||||
<h2>parcous1</h2>
|
||||
<p><strong>Ville :</strong> Bourg en bresse</p>
|
||||
<p><strong>Département :</strong> 1</p>
|
||||
<p><strong>Difficulté :</strong> 2</p>
|
||||
<p><strong>Durée (heures) :</strong> 2.3</p>
|
||||
<p><strong>Longueur (km) :</strong> 17.3</p>
|
||||
<img src="data/parcours1.png">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"></script>
|
||||
<script>
|
||||
var map = L.map('map').setView([45.5, 1.5], 10); // Vue centrée
|
||||
|
||||
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
||||
attribution: '© OpenStreetMap contributors'
|
||||
}).addTo(map);
|
||||
L.marker([45.62, -1.03348]).addTo(map).bindPopup("<b>Étape 1</b><br><b>Personnages :</b><ul><li>Quentin</li><li>Malo</li></ul><b>Textes :</b><ul><li>ligne de dialogue 1</li><li>ligne de dialogue 2</li></ul>");
|
||||
L.marker([-45.62, 1.03348]).addTo(map).bindPopup("<b>Étape 2</b><br><b>Personnages :</b><ul><li>Antoine</li><li>Giovanni</li></ul><b>Textes :</b><ul><li>ligne de dialogue 1</li><li>ligne de dialogue 2</li></ul>");
|
||||
var latlngs = [
|
||||
[45.62, -1.03348],
|
||||
[-45.62, 1.03348],
|
||||
];
|
||||
|
||||
var polyline = L.polyline(latlngs, {
|
||||
color: 'purple',
|
||||
weight: 2,
|
||||
dashArray: '10, 10',
|
||||
opacity: 0.7
|
||||
}).addTo(map);
|
||||
map.fitBounds(polyline.getBounds());
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@ -1,44 +0,0 @@
|
||||
{
|
||||
"name": "parcous1",
|
||||
"city": "Bourg en bresse",
|
||||
"departement": 1,
|
||||
"difficulty": 2,
|
||||
"duration": 2.3,
|
||||
"length": 17.3,
|
||||
"image": "../data/parcours1.png",
|
||||
"steps": [
|
||||
{
|
||||
"numero": 1,
|
||||
"title": "Première étape",
|
||||
"GPS": "N 45 37.199 W 1 2.009",
|
||||
"reponse": -1,
|
||||
"dialogue": [
|
||||
{
|
||||
"personnage": "Quentin",
|
||||
"texte": "ligne de dialogue 1"
|
||||
},
|
||||
{
|
||||
"personnage": "Malo",
|
||||
"texte": "ligne de dialogue 2"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"numero": 2,
|
||||
"title": "Deuxième étape",
|
||||
"GPS": "S 45 37.199 E 1 2.009",
|
||||
"reponse": 4156,
|
||||
"dialogue": [
|
||||
{
|
||||
"personnage": "Antoine",
|
||||
"texte": "ligne de dialogue 1"
|
||||
},
|
||||
{
|
||||
"personnage": "Giovanni",
|
||||
"texte": "ligne de dialogue 2"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 219 KiB |
@ -1,75 +0,0 @@
|
||||
{
|
||||
"city": "Bourg en Bresse",
|
||||
"departement": "1",
|
||||
"difficulty": 3,
|
||||
"duration": 3.8,
|
||||
"image": "data/parcours1.png",
|
||||
"length": 24.6,
|
||||
"name": "Chemin des",
|
||||
"steps": [
|
||||
{
|
||||
"GPS": "N 46 12.321 E 5 13.245",
|
||||
"dialogue": [
|
||||
{
|
||||
"personnage": "Clémentine",
|
||||
"texte": "Bienvenue à tous, voici le centre historique !"
|
||||
},
|
||||
{
|
||||
"personnage": "Léo",
|
||||
"texte": "Regardez cette magnifique horloge, elle date du XIXe siècle !"
|
||||
}
|
||||
],
|
||||
"numero": 1,
|
||||
"reponse": 0,
|
||||
"title": "Départ au centre-ville"
|
||||
},
|
||||
{
|
||||
"GPS": "N 46 12.500 E 5 13.800",
|
||||
"dialogue": [
|
||||
{
|
||||
"personnage": "Aurélie",
|
||||
"texte": "Ici, on trouve les meilleurs fromages de la région !"
|
||||
},
|
||||
{
|
||||
"personnage": "Sami",
|
||||
"texte": "Combien de colonnes vois-tu à l'entrée ?"
|
||||
}
|
||||
],
|
||||
"numero": 2,
|
||||
"reponse": 6,
|
||||
"title": "Marché couvert"
|
||||
},
|
||||
{
|
||||
"GPS": "N 46 12.900 E 5 13.900",
|
||||
"dialogue": [
|
||||
{
|
||||
"personnage": "Juliette",
|
||||
"texte": "La Reyssouze apporte de la fraîcheur en été."
|
||||
},
|
||||
{
|
||||
"personnage": "Marc",
|
||||
"texte": "Regarde cette inscription ancienne sur la pierre, tu arrives à la lire ?"
|
||||
}
|
||||
],
|
||||
"numero": 3,
|
||||
"reponse": 0,
|
||||
"title": "Au bord de la Reyssouze"
|
||||
},
|
||||
{
|
||||
"GPS": "N 46 13.024 E 5 14.160",
|
||||
"dialogue": [
|
||||
{
|
||||
"personnage": "Claire",
|
||||
"texte": "Voilà l'abbaye ! Admire l'architecture."
|
||||
},
|
||||
{
|
||||
"personnage": "Nathalie",
|
||||
"texte": "C'est ici la dernière étape. Observez bien la date !"
|
||||
}
|
||||
],
|
||||
"numero": 4,
|
||||
"reponse": 1655,
|
||||
"title": "Arrivée à l'abbaye"
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -46,8 +46,6 @@
|
||||
<body>
|
||||
<h1>Liste des parcours</h1>
|
||||
<ul>
|
||||
<li><a href="./pages/parcours1.html">parcous1</a></li>
|
||||
<li><a href="./pages/parcours2.html">Chemin des</a></li>
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@ -76,11 +76,11 @@
|
||||
<div id="fiche">
|
||||
<h2>parcous1</h2>
|
||||
<p><strong>Ville :</strong> Bourg en bresse</p>
|
||||
<p><strong>Département :</strong> 1</p>
|
||||
<p><strong>Département :</strong> 0</p>
|
||||
<p><strong>Difficulté :</strong> 2</p>
|
||||
<p><strong>Durée (heures) :</strong> 2.3</p>
|
||||
<p><strong>Longueur (km) :</strong> 17.3</p>
|
||||
<img src="../data/parcours1.png">
|
||||
<img src="./data/parcours1.png">
|
||||
<h3>Étape 1</h3>
|
||||
<p><strong>Personnages :</strong></p>
|
||||
<ul><li>Quentin</li>
|
||||
@ -110,11 +110,11 @@
|
||||
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
||||
attribution: '© OpenStreetMap contributors'
|
||||
}).addTo(map);
|
||||
L.marker([45.62, -1.03348]).addTo(map).bindPopup("<b>Étape 1</b><br><b>Personnages :</b><ul><li>Quentin</li><li>Malo</li></ul><b>Textes :</b><ul><li>ligne de dialogue 1</li><li>ligne de dialogue 2</li></ul>");
|
||||
L.marker([-45.62, 1.03348]).addTo(map).bindPopup("<b>Étape 2</b><br><b>Personnages :</b><ul><li>Antoine</li><li>Giovanni</li></ul><b>Textes :</b><ul><li>ligne de dialogue 1</li><li>ligne de dialogue 2</li></ul>");
|
||||
L.marker([45.62, -0.966517]).addTo(map).bindPopup("<b>Étape 1</b><br><b>Personnages :</b><ul><li>Quentin</li><li>Malo</li></ul><b>Textes :</b><ul><li>ligne de dialogue 1</li><li>ligne de dialogue 2</li></ul>");
|
||||
L.marker([-44.38, 1.03348]).addTo(map).bindPopup("<b>Étape 2</b><br><b>Personnages :</b><ul><li>Antoine</li><li>Giovanni</li></ul><b>Textes :</b><ul><li>ligne de dialogue 1</li><li>ligne de dialogue 2</li></ul>");
|
||||
var latlngs = [
|
||||
[45.62, -1.03348],
|
||||
[-45.62, 1.03348],
|
||||
[45.62, -0.966517],
|
||||
[-44.38, 1.03348],
|
||||
];
|
||||
|
||||
var polyline = L.polyline(latlngs, {
|
||||
|
||||
@ -128,11 +128,11 @@
|
||||
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
||||
attribution: '© OpenStreetMap contributors'
|
||||
}).addTo(map);
|
||||
L.marker([45.62, -1.03348]).addTo(map).bindPopup("<b>Étape 1</b><br><b>Personnages :</b><ul><li>Quentin</li><li>Malo</li></ul><b>Textes :</b><ul><li>ligne de dialogue 1</li><li>ligne de dialogue 2</li></ul>");
|
||||
L.marker([-45.62, 1.03348]).addTo(map).bindPopup("<b>Étape 2</b><br><b>Personnages :</b><ul><li>Antoine</li><li>Giovanni</li></ul><b>Textes :</b><ul><li>ligne de dialogue 1</li><li>ligne de dialogue 2</li></ul>");
|
||||
L.marker([45.62, -0.966517]).addTo(map).bindPopup("<b>Étape 1</b><br><b>Personnages :</b><ul><li>Quentin</li><li>Malo</li></ul><b>Textes :</b><ul><li>ligne de dialogue 1</li><li>ligne de dialogue 2</li></ul>");
|
||||
L.marker([-44.38, 1.03348]).addTo(map).bindPopup("<b>Étape 2</b><br><b>Personnages :</b><ul><li>Antoine</li><li>Giovanni</li></ul><b>Textes :</b><ul><li>ligne de dialogue 1</li><li>ligne de dialogue 2</li></ul>");
|
||||
var latlngs = [
|
||||
[45.62, -1.03348],
|
||||
[-45.62, 1.03348],
|
||||
[45.62, -0.966517],
|
||||
[-44.38, 1.03348],
|
||||
];
|
||||
|
||||
var polyline = L.polyline(latlngs, {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user