parkg and popup update
This commit is contained in:
parent
52a06c6bc1
commit
c9e6fbe473
|
@ -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;
|
||||
}
|
||||
|
@ -375,3 +375,11 @@ 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;
|
||||
}
|
|
@ -12,6 +12,8 @@ var jdb = {
|
|||
nameIT : "Parcheggio",
|
||||
sub : {
|
||||
ParkingLamy,
|
||||
ParkingStephanie,
|
||||
ParkingPantiero,
|
||||
}
|
||||
},
|
||||
resto : {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -8,9 +8,9 @@ let ParkingLamy = {
|
|||
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.",
|
||||
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: {
|
||||
|
@ -22,8 +22,65 @@ let ParkingLamy = {
|
|||
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",
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -474,7 +474,7 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|||
border-radius: 12px;
|
||||
}
|
||||
.leaflet-popup-content {
|
||||
margin: 13px 19px;
|
||||
margin: 3px 3px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
.leaflet-popup-content p {
|
||||
|
@ -490,11 +490,11 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|||
pointer-events: none;
|
||||
}
|
||||
.leaflet-popup-tip {
|
||||
width: 17px;
|
||||
height: 17px;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
padding: 1px;
|
||||
|
||||
margin: -10px auto 0;
|
||||
margin: -8px auto 0;
|
||||
|
||||
-webkit-transform: rotate(45deg);
|
||||
-moz-transform: rotate(45deg);
|
||||
|
|
Loading…
Reference in New Issue