added bounds to keep view inside map

+ changed marker icon to works unified with cluster
This commit is contained in:
lenovo
2022-11-07 18:57:05 +01:00
parent 65ab0c455e
commit cfc747bad3
12 changed files with 243 additions and 55 deletions

View File

@@ -0,0 +1,34 @@
/*
* INFO WINDOW
*/
/*
window itself
*/
.gm-style-iw.gm-style-iw-c {
padding: 0px !important;
}
/*
triangle
*/
.gm-style-iw-tc {
display: none !important;
}
/*
croice
.gm-ui-hover-effect {
display: none !important;
}
*/
/*
content
*/
#info_window {
margin: 20px;
}

View File

@@ -1,3 +1,8 @@
#ljdp_map_wrapper {
position: relative;
}
#ljdp_map {
height: 500px;
width: 100%;
@@ -7,22 +12,13 @@
}
/*
* styling zoom buttons on map
*/
#ljdp_map_filters {
border: 1px solid blue;
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 30px;
}
/* hide the rectangular box container */
div.gmnoprint div {
visibility: hidden;
}
/* shape buttons in circles */
button.gm-control-active {
visibility: visible;
border-radius: 50% !important;
background-color: rgb(255, 255, 255) !important;
}
/* gap between the buttons */
button.gm-control-active ~ div {
height: 10px !important;
}

View File

@@ -0,0 +1,24 @@
/*
* ZOOM BUTTONS
*/
/* hide the rectangular box container
div.gmnoprint div {
visibility: hidden;
}
*/
/* shape buttons in circles
button.gm-control-active {
visibility: visible;
border-radius: 50% !important;
background-color: rgb(255, 255, 255) !important;
}
*/
/* gap between the buttons
button.gm-control-active ~ div {
height: 10px !important;
}
*/