On Feb 15, 1:26 pm, UPIIC <[email protected]> wrote:
> Where it should be?
> -- Im little confused about this function..
> I understand that its functions is to set back size of map after
> button is pressed (in my case with this button i switch 2 different
> maps). I can't understand other part of this - where to put this
> function (I'm pretty new to Gmaps and javascript).
It needs to operate on the expanded/unhidden Google map. That
**probably** means it should go just before the } here:
if(d == 'Gmap'){
document.getElementById('JSmap').style.display = "none";
document.getElementById(d).style.display = "block";
}
However, your variable "map" needs to be global if it's to be usable
outside function initialize.
--
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.