My favorites | Sign in
Project Home Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 4: Map Size
  Back to list
 
Project Member Reported by mark%sam...@gtempaccount.com, Dec 5, 2007
The Map should not be a fixed size but should grow with the browser window.

We should try to use 90% of the height and 90% of the width leaving the
rest for a border.
Dec 6, 2007
Project Member #1 mark%sam...@gtempaccount.com
(No comment was entered for this change.)
Labels: -OpSys-All Milestone-v0.1
Dec 22, 2007
#2 vikasadi...@gmail.com
(No comment was entered for this change.)
Status: Fixed
Dec 22, 2007
Project Member #3 mark%sam...@gtempaccount.com
What is want is standard Google Maps behaviour.

If a new Google Maps page is started, whatever size the web page is, Google Maps
shows a full map relative to the window area available.

If I resize that window, Google Maps redraws to fit the window.

Would getBoundsZoomLevel(bounds) help?
Status: Accepted
Dec 22, 2007
Project Member #4 mark%sam...@gtempaccount.com
From Vikas...

This issue has been added extremely late in the cycle. As mentioned google
map API doesn't provide anything to do this internally.

But in the spirit of finishing the work, I have now implemented the
functionality.
Dec 22, 2007
Project Member #5 mark%sam...@gtempaccount.com
This is standard Google Maps behaviour, as is keyboard navigation, and not,
therefore, a new item.

Using the latest version of the web page that is available to me, this is still not
functioning as a standard GMap would function.

If it cannot be done, that is a different issue.
Dec 22, 2007
Project Member #6 mark%sam...@gtempaccount.com
map.checkResize ?
Dec 22, 2007
Project Member #7 mark%sam...@gtempaccount.com
From Google Group for API..

You will need to write JavaScript code that will use the DOM to access
the map div, and then adjust its width and height properties.

I can't help you any more than that - for more info, a Google search on
JavaScript, and DOM, should help you out. If these technologies are new
to you then it may take some time. 
Dec 22, 2007
Project Member #8 mark%sam...@gtempaccount.com
GEvent.bindDom(window,"resize",map,map.onResize); 
Dec 22, 2007
#9 vikasadi...@gmail.com
I had done it when i made the comment.See my comment & Do check it
Status: Fixed
May 16, 2008
Project Member #11 mark%sam...@gtempaccount.com
Obsolete
Labels: Obsolete
May 16, 2008
Project Member #12 mark%sam...@gtempaccount.com
(No comment was entered for this change.)
Status: Invalid

Powered by Google Project Hosting