Wasn't it agmpie who wrote:
>
>Thanks Mike,
>
>I'm aware of the risk of undoc'd features but sometimes they're just
>so handy!
>
>Assuming this method does completely disappear, are you aware of any
>other way to directly access the map in the overview control?
>The default view isn't ideal so it'd be nice to modify it.
There's nothing that will work across browser versions. In specific
post-134 versions you can read the reference directly from the API
internal obfuscated variable.
E.g. in v2.136d you can write
var ov = new GOverviewMapControl();
map.addControl(ov);
// Then wait for the external module to load
var ovmap = ov.Aa;
ovmap.setMapType(G_SATELLITE_MAP);
But for each release you'd have to look up the new obfuscated name of
the variable, and replace "Aa".
Or you could lock into v134d and use .getOverviewMap().
--
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---