added bounds to keep view inside map
+ changed marker icon to works unified with cluster
This commit is contained in:
34
srcs/plugins/map_prof/styles/mp_info_windows.css
Normal file
34
srcs/plugins/map_prof/styles/mp_info_windows.css
Normal 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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
24
srcs/plugins/map_prof/styles/mp_zoom.css
Normal file
24
srcs/plugins/map_prof/styles/mp_zoom.css
Normal 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;
|
||||
}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user