You got me there ;-)

But switching that to mymap still doesn't change a thing.
Does every smaller map have to have an unique map object?

As you probably noticed I'm calling the map function only when I click
to open the div, and as there's always only one div and one map
visible there shouldn't be a problem there.
To make a unique map name I'd need to append something to the variable
name dynamically numbering the maps (as the actual number of maps
always varies) something like map1,map2,...
How would I therefore append the number ('count') to my 'var map
= ...' string?

Or would it be easier if not better to use the old v2 inframe method
for multiple maps on one page?

Cheers,
joe



On 14 Jan., 15:25, Chad Killingsworth
<[email protected]> wrote:
> At the very end of your lightbox function, you are correctly triggering the
> resize event - but for your main map, not the smaller one you just created.
> I suggest you return the map object from your getMap function. Then you'll
> have a reference to the smaller map and can properly trigger the resize
> event on that map.
>
> Chad Killingsworth

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to