Gregory, They are separate GMap2 objects so you need to add overlays separately to each of them. However, you can set up an event listemer on one map, 'addoverlay' and replicate whatever was added on the other map.
I'm not sure if that answers your question, but I'd suggest starting a separate thread, and apologies to the original poster here for the divertion. -- Marcelo - http://maps.forum.nu -- On Oct 20, 8:57 pm, Gregory Short <[email protected]> wrote: > On Oct 20, 2009, at 1:51 PM, Marcelo wrote: > > > > > On Oct 20, 8:31 pm, Gregory Short <[email protected]> wrote: > > >> That's really cool. Don't forget Hawaii, though! ;) > > > Thanks. :-) > > Yes, same principle for Hawaii. ;-) > > Not to hijack the thread, but quick question on that custom control: > it's effectively embedding a second map in the control, right? So if > you wanted to add any overlays and the like, you'd have to add them to > both instances? I'm from Alaska, and I work for a university that > provides a lot of space-borne remote sensing data over the area. It'd > be great to use something like that to display a couple regions of > interest, although I'd go a little further and have the extra views > disappear after zooming out to a certain level. Anyhow, we have the > user draw a region on the map, and I'm curious what would be required > to get it all to sync up properly. :) > > I'd take the time to figure out what exactly is going on based on the > example, but I am (at least theoretically) still at work, and I > thought maybe you could offer a quicker answer. ;) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
