Should not be that difficult. Place a button or whatever on top of the
map and call a function when this button is clicked.
// Pseudocode
function changeSize() {
if(flag == false) {
mapdiv.style.width = "100%";
mapdiv.style.heigth = "100%";
}
else {
mapdiv.style.width = "50%";
mapdiv.style.heigth = "50%";
}
// Always change value of flag
// from true to false or vice versa
flag = !flag;
// Always call checkResize()
map.checkResize();
}
On Nov 27, 2:26 pm, sridhar <[email protected]> wrote:
> Hi all,
> I just started learning Google maps API to Working GPS
> system.
> please let know how i can do google map like toggling to full screen
> and normal window,http://www.max.nl/content/references/Portfolio/
> please click Volledig scherm at top right of the map to toggle to full
> screen,
> in full screen the left panel is getting overlay on the map.
>
> pls suggest me how can i do like this,
> Thanks in advance.
--
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.