Thanks Andrew.
Ok, I added an animation to one of the examples to resize smoothly

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

But the problem is that it's not possible to add an animation to the other 
example because it would look real ugly.

The reason why the other example cannot be made to resize smoothly is that 
it behaves completely different than the first example.

It's the map itself that behaves somehow right-left reversed - if you know 
what I mean.

I'm looking for a solution to correct this reversed behaviour.



On Thursday, January 24, 2013 10:42:50 AM UTC+1, Pil wrote:
>
> 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.
Visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to