Reputation: 20438
Here is a working version
Here is a broken version (Zooming widget is no longer properly displayed) with Bootstrap styling
Why does it break?
Upvotes: 5
Views: 3907
Reputation: 3294
No need to specify a new class just copy this code
.angular-google-map img {
max-width: none !important;
}
Upvotes: 0
Reputation: 1077
I fixed it with a slight variation on what was listed here.
.gm-style img {
max-width: none;
}
Upvotes: 0
Reputation: 111
You can also fix this for individual maps e.g.:
.googleMapContainer img {
max-width: none !important;
}
Upvotes: 11
Reputation: 1734
In the Bootstrap.css line 69 max-width: 100%;
is causing the issue.
img {
max-width: 100%; <--
vertical-align: middle;
border: 0;
-ms-interpolation-mode: bicubic;
}
You can remove it and if needed again just specify a new class .newclass {max-width:100%}
and add it to the image.
Upvotes: 4