I’m using the latest version of the Google Maps API.
What I’d like to do is automatically minimize the small overview map located on the bottom right of an embedded Google Map. Or in the worst case, not displaying it at all.
I didn’t manage to find any documentation about this.
Any help would be much appreciated.
In the past you could call ‘hide’ on the GOverviewMapControl during your init, but seems that does not work without a little hacking now.
If you do not want to display ‘overview map’ (GOverviewMapControl) just do not add it to the map when you create the GMap2.
The ‘hack’ would be to add some control to the page that gets loaded late, like an image, and have it call a function that would call ‘hide’ on the GOverviewMapControl when it completed loading.