Fix Google Maps JavaScript API controls

So you've implemented the Google Maps JavaScript API (V3) in your site but when you run the site the controls look hidden, broken, stretched...

google maps hidden controls

The fix is quite simple. Add the following snippet where #map-canvas is your Google Maps container.

Now the controls will magically appear:

google maps fixed controls

Leave a Reply

Add <code> Some Code </code> by using this tags.