Answer the question
In order to leave comments, you need to log in
Google maps zoom slider (zoomControl) is distorted! Where is the bug?
The map settings are:
disableDefaultUI:false,
zoomControl: true,
zoomControlOptions: {
style: google.maps.ZoomControlStyle.LARGE,
position: google.maps.ControlPosition.BOTTOM_LEFT
},
The slider looks like the picture, flattened! :(
The map was inherited, where is the bug, I can't find it :(
Answer the question
In order to leave comments, you need to log in
I wrote it myself, I found the answer myself :) answer
source
And who is too lazy to read, then briefly:
to the block in which the map was displayed, I added a css class with the following parameters:
.mappins-map img {
max-width: none !important;
height: auto !important;
background: none !important;
border: 0 !important;
margin: 0 !important;
padding: 0
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question