The question is, how to you place the button, image or text for switching between full screen and partial screen?
You can - for example - use a custom control as documented for both and display one of them only in full screen mode http://code.google.com/apis/maps/documentation/controls.html#Custom_Controls BTW: The left panel in full screen mode is very annoying because the user is not able to close it. On Nov 29, 7:08 am, sridhar <[email protected]> wrote: > sir, > on toggle to full screen left side panel is getting overlay in google > map sir, > can please help me in this regard. > Ref:http://www.max.nl/content/references/Portfolio > please click Volledig scherm at top right of the map to toggle to full > screen, > Thanks in advance. > > On Nov 27, 10:29 am, "Pil (Trustworthy from Experience)" > > <[email protected]> wrote: > > 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.
