I don't have a site to post. Sorry.

What I am trying to do is give a user the option of two views. 1 of
just the map, and 1 of the map and a sidebar.

On Dec 14, 3:55 pm, Andrew Leach <[email protected]>
wrote:
> On Dec 14, 9:46 pm,Schwimms<[email protected]> wrote:
>
> > Nope didn't work. What I mean is I would create two seperate var's but
> > both would equal the same map. Those var's would be my id then.
>
> I don't understand what you're trying to do. A link would REALLY help;
> that's why we ask for one.
>
> If you have two tabs with two separate divs in them:
> <div id="map1">...
> <div id="map2">...
>
> and then you create a map in each div:
> var map1 = new GMap2(document.getElementById("map1"));
> var map2 = new GMap2(document.getElementById("map2"));
>
> then you have two different maps. Your objects map1 and map2 are
> entirely separate. If you want them to mirror each other, that is, to
> be kept in step, then you need to ensure that whatever happens to one
> is done to the other. Marcelo has an example for 
> that:http://maps.forum.nu/gm_maps_in_sync.html
>
> If that isn't what you want either, then you need to provide a link so
> we can see what you have at the moment, and tell us what you would
> like to happen.
>
> Andrew

--

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