Page 1 of 1
Forum

Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!

Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.

Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!



Google Maps embedde...
 
Share:
Notifications
Clear all

[Solved] Google Maps embedded - Controls and InfoWindow are displayed wrong

1 Posts
1 Users
0 Reactions
1,560 Views
 Hans
(@hans)
Famed Member Admin
Joined: 12 years ago
Posts: 2880
Topic starter  

If you have been playing with embedding a Google Map into your website, and the controls (zoom, panning) and/or the InfoWindow looks wrong, then you most likely are looking at the same problem I had.

For my website I have set some width specifications for IMG tags. Unfortunately this collides with the requirements for Google Maps.

A simple CSS addition fixes this (assuming that "map-canvas" is the ID of the DIV you use for your Google Map):

#map_canvas img {max-width:none}

   
ReplyQuote
Share: