Compare commits

...

2 Commits

Author SHA1 Message Date
ed barz c9e6fbe473 parkg and popup update 2022-06-01 12:01:36 +02:00
ed barz 52a06c6bc1 parking.js added 2022-06-01 11:08:41 +02:00
6 changed files with 741 additions and 672 deletions

View File

@ -246,7 +246,7 @@ div.leaflet-popup-tip {
background-color: var(--b9h-color-fg);
font-family: Inter;
font-weight: 400;
font-size: 1rem;
font-size: 0.8rem;
text-align: center;
padding-top: 5px;
}
@ -374,4 +374,12 @@ section.card div h3.cardtitle {
section.restomenu div.dish {
margin-left: 20px;
}
a.leaflet-popup-close-button {
display: none;
}
div.leaflet-popup.leaflet-zoom-animated {
bottom: -15px !important;
}

View File

@ -11,36 +11,9 @@ var jdb = {
nameEN : "Car park",
nameIT : "Parcheggio",
sub : {
lamy : {
id: "lamy",
isActive: true,
xy: [-18.27,56.91],
dirxy: [-21.66,52.47],
dirzl: 5,
minz: 2,
img: "https://ed.brz9.dev/proj/map/asset/img/lamy.jpg",
type: "item",
name: "Parking Lamy",
txtFR: "Parking public souterrain, situé à 3 minutes à pied de l'hôtel. Hauteur maximum: 1,9 m.",
txtEN: "Underground public parking, located 3 minutes walk from the hotel. Maximum height: 1,9 m.",
txtIT: "Parcheggio pubblico sotterraneo, situato a 3 minuti a piedi dall'hotel. Altezza massima: 1,9 m.",
card: {
tabs: {
info: {
tabtype: "info",
site: "https://www.cannes.com/fr/mairie/annuaire-pratique/equipements-municipaux/p10-parking-lamy.html",
handi: "yes",
hautmax: "1,9 m",
wifi: "yes",
address: "121 rue d'Antibes - 06400 Cannes",
tel: "+33 4 89 82 23 23",
email: "cannesparking@ville-cannes.fr",
}
}
}
}
ParkingLamy,
ParkingStephanie,
ParkingPantiero,
}
},
resto : {

View File

@ -68,7 +68,7 @@ var markoTrainIcon = L.icon({
var marker = L.marker(hotelxy, {
icon: markPointerIcon,
draggable : false,
draggable : true,
}).addTo(map);
marker.bindPopup("Hôtel Molière");
@ -114,6 +114,7 @@ Object.entries(parking).forEach(p => {
p[1]['marker'] = L.marker(p[1]['xy'], {
icon: markParkingIcon,
}).addTo(layzls[p[1]['minz']]);
p[1]['marker'].bindPopup(p[1]['name'])
p[1]['marker'].on('click', function(e) {
jdb.data.db.parking.isActive = true
p[1]['isActive'] = true

View File

@ -0,0 +1,86 @@
let ParkingLamy = {
id: "lamy",
isActive: true,
xy: [-18.27,56.91],
dirxy: [-21.66,52.47],
dirzl: 5,
minz: 2,
img: "https://ed.brz9.dev/proj/map/asset/img/lamy.jpg",
type: "item",
name: "Parking Lamy",
txtFR: "Parking public souterrain, situé à 3 minutes à pied de l'hôtel. Hauteur maximum: 1,9m.",
txtEN: "Underground public parking, located 3 minutes walk from the hotel. Maximum height: 1,9m.",
txtIT: "Parcheggio pubblico sotterraneo, situato a 3 minuti a piedi dall'hotel. Altezza massima: 1,9m.",
card: {
tabs: {
info: {
tabtype: "info",
site: "https://www.cannes.com/fr/mairie/annuaire-pratique/equipements-municipaux/p10-parking-lamy.html",
handi: "yes",
hautmax: "1,9 m",
wifi: "yes",
address: "121 rue d'Antibes - 06400 Cannes",
tel: "+33 4 89 82 23 23",
email: "cannesparking@ville-cannes.fr",
}
}
}
}
let ParkingStephanie = {
id: "parkingstephanie",
isActive: true,
xy: [-26.55,48.95],
dirxy: [-22.99,48.76],
dirzl: 5,
minz: 4,
img: "https://ed.brz9.dev/proj/map/asset/img/parking-palais-stephanie.jpg",
type: "item",
name: "Parking Palais Stéphanie",
txtFR: "Parking public souterrain, situé à 1 minute à pied de l'hôtel. Hauteur maximum: 1,9m.",
txtEN: "Underground public parking, located 1 minute walk from the hotel. Maximum height: 1,9m.",
txtIT: "Parcheggio pubblico sotterraneo, situato a 1 minuto a piedi dall'hotel. Altezza massima: 1,9m.",
card: {
tabs: {
info: {
tabtype: "info",
site: "https://www.interparking.fr/fr-FR/find-parking/PalaisStephanie/",
handi: "yes",
hautmax: "1,9 m",
address: "Rdpt Duboys d'Angers - 06400 Cannes",
tel: "+33 9 70 140 111",
email: "contact-france@interparking.com",
}
}
}
}
let ParkingPantiero = {
id: "parkingpantiero",
isActive: true,
xy: [-27.68,-13.36],
dirxy: [-24.52,2.72],
dirzl: 3,
minz: 3,
img: "https://ed.brz9.dev/proj/map/asset/img/parking-pantiero.jpg",
type: "item",
name: "Parking Pantiero",
txtFR: "Parking public souterrain, situé à 15 minutes à pied de l'hôtel. Hauteur maximum: 2,4m.",
txtEN: "Underground public parking, located 15 minutes walk from the hotel. Maximum height: 2,4m.",
txtIT: "Parcheggio pubblico sotterraneo, situato a 15 minuti a piedi dall'hotel. Altezza massima: 2,4m.",
card: {
tabs: {
info: {
tabtype: "info",
site: "https://www.cannes.com/fr/mairie/annuaire-pratique/equipements-municipaux/p4-parking-pantiero.html",
handi: "yes",
hautmax: "2,4 m",
wifi: "yes",
address: "Promenade de La Pantiero - 06400 Cannes",
tel: "+33 4 89 82 23 23",
email: "cannesparking@ville-cannes.fr",
}
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -56,6 +56,7 @@
<script src="asset/js/ingredients.js "></script>
<script src="asset/js/dishes.js "></script>
<script src="asset/js/resto.js"></script>
<script src="asset/js/parking.js"></script>
<script src="asset/js/db.js"></script>
<script src="asset/js/main.js"></script>
<script src="asset/js/map.js"></script>