Yes, it should be possible with a few tricks.

Try this

http://www.mapdist.de

The used tricks are:

1. Define the overview map globally

var overview = new GOverviewMapControl(new GSize(140,140));

2. Call a init() function from an onload event that loads the map.

3. Add and immediately hide the overview map inside this init()
funtion using a timeout:

 setTimeout(function() {

 map.addControl(overview);
 overview.hide(true); }, 500);



On Aug 19, 9:00 am, "[email protected]"
<[email protected]> wrote:
> Can you tell me how to collapse GOverviewMapControl hide at map load ?
> The code:
>
>  var ov = new GOverviewMapControl();
>                                         map.addControl(ov);
>                                         ov.hide(true);
>
> is not working any more. Please help.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to