Compare commits
2 Commits
d195f3eea8
...
c9e6fbe473
Author | SHA1 | Date |
---|---|---|
|
c9e6fbe473 | |
|
52a06c6bc1 |
|
@ -246,7 +246,7 @@ div.leaflet-popup-tip {
|
||||||
background-color: var(--b9h-color-fg);
|
background-color: var(--b9h-color-fg);
|
||||||
font-family: Inter;
|
font-family: Inter;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-size: 1rem;
|
font-size: 0.8rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding-top: 5px;
|
padding-top: 5px;
|
||||||
}
|
}
|
||||||
|
@ -374,4 +374,12 @@ section.card div h3.cardtitle {
|
||||||
|
|
||||||
section.restomenu div.dish {
|
section.restomenu div.dish {
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.leaflet-popup-close-button {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.leaflet-popup.leaflet-zoom-animated {
|
||||||
|
bottom: -15px !important;
|
||||||
}
|
}
|
|
@ -11,36 +11,9 @@ var jdb = {
|
||||||
nameEN : "Car park",
|
nameEN : "Car park",
|
||||||
nameIT : "Parcheggio",
|
nameIT : "Parcheggio",
|
||||||
sub : {
|
sub : {
|
||||||
lamy : {
|
ParkingLamy,
|
||||||
id: "lamy",
|
ParkingStephanie,
|
||||||
isActive: true,
|
ParkingPantiero,
|
||||||
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",
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
resto : {
|
resto : {
|
||||||
|
|
|
@ -68,7 +68,7 @@ var markoTrainIcon = L.icon({
|
||||||
|
|
||||||
var marker = L.marker(hotelxy, {
|
var marker = L.marker(hotelxy, {
|
||||||
icon: markPointerIcon,
|
icon: markPointerIcon,
|
||||||
draggable : false,
|
draggable : true,
|
||||||
}).addTo(map);
|
}).addTo(map);
|
||||||
|
|
||||||
marker.bindPopup("Hôtel Molière");
|
marker.bindPopup("Hôtel Molière");
|
||||||
|
@ -114,6 +114,7 @@ Object.entries(parking).forEach(p => {
|
||||||
p[1]['marker'] = L.marker(p[1]['xy'], {
|
p[1]['marker'] = L.marker(p[1]['xy'], {
|
||||||
icon: markParkingIcon,
|
icon: markParkingIcon,
|
||||||
}).addTo(layzls[p[1]['minz']]);
|
}).addTo(layzls[p[1]['minz']]);
|
||||||
|
p[1]['marker'].bindPopup(p[1]['name'])
|
||||||
p[1]['marker'].on('click', function(e) {
|
p[1]['marker'].on('click', function(e) {
|
||||||
jdb.data.db.parking.isActive = true
|
jdb.data.db.parking.isActive = true
|
||||||
p[1]['isActive'] = true
|
p[1]['isActive'] = true
|
||||||
|
|
|
@ -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
|
@ -56,6 +56,7 @@
|
||||||
<script src="asset/js/ingredients.js "></script>
|
<script src="asset/js/ingredients.js "></script>
|
||||||
<script src="asset/js/dishes.js "></script>
|
<script src="asset/js/dishes.js "></script>
|
||||||
<script src="asset/js/resto.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/db.js"></script>
|
||||||
<script src="asset/js/main.js"></script>
|
<script src="asset/js/main.js"></script>
|
||||||
<script src="asset/js/map.js"></script>
|
<script src="asset/js/map.js"></script>
|
||||||
|
|
Loading…
Reference in New Issue