2

The Person Icon that represents the Street View on Google maps seems to be having issue on my insert. I am using the v3 api and The Icon placement is there but the icon seems missing or distorted.

If you look at the image something is there but it disappears on hover. Any ideas what could cause this.

I believe its could be to do with some of my pages code as if i do a vanilla version it seems ok, but i am not targeting this at all and was wondering if anyone else has come across this and might have an idea etc

enter image description here

Simon Davies
  • 3,668
  • 9
  • 41
  • 69
  • Never saw that but maybe you can fix it by setting the [StreetViewControlOptions](https://developers.google.com/maps/documentation/javascript/reference#StreetViewControlOptions) explicit. – FrVaBe May 16 '13 at 11:07
  • That is a css problem. – geocodezip May 16 '13 at 12:37
  • possible duplicate of [Zoom control and streetview not showing on my Google map?](http://stackoverflow.com/questions/8511436/zoom-control-and-streetview-not-showing-on-my-google-map) – geocodezip May 16 '13 at 13:03
  • @geocodezip your right thanks to the life of me this did not come up in searches... – Simon Davies May 16 '13 at 18:22

3 Answers3

4

This is definitely a CSS issue. Look for CSS that is applying to all images like:

img {
  max-width: 100%;
}
vinod_vh
  • 1,021
  • 11
  • 16
4

Select only Google Maps and keep the rest of your site responsive

.gm-style img {
    max-width: none;
}
Guus
  • 121
  • 1
  • 4
0

Just set:

img {
    max-width: none;
}
Darin Kolev
  • 3,401
  • 13
  • 31
  • 46