Please have a look at the well known official Google Maps page and
click the image that says "hide panel' on top of the left panel

http://maps.google.com

The map will be resized to the left border of the browser window while
the right (north-east) bounds of the map won't change. (I'm not
interested in the animation itself here.)

This can also be done the other way round - although probably not so
well known

http://maps.google.com/?hl=iw

In this case if you click the image to hide the right panel, the map
will be resized to the right border of the browser window while the
left (south-west) bounds of the map won't change.

So far so good. Now let's try the same with the Maps API.

http://www.wolfpil.de/v3/east-resize-test.html

This looks good because the map will be resized on the right hand side
while the left (south-east) bounds of the map won't change. So let's
try it the other way round

http://www.wolfpil.de/v3/west-resize-test.html

In this example you'll notice that the map behaviour is completely
different: The map will be resized on the left while the right (north-
east) bounds will be changed!

This is stuttering, jumping behaviour because the center of the map
will also be changed and the map bounds will be extended to the east
although only the west bounds should be extended.

So my question is: How to resize the map smoothly in every case?
~

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to