[OpenLayers-Users] Bing maps with dynamic resized map bug

Jimmy Aumard jimmy.aumard at gmail.com
Tue Apr 20 03:48:14 EDT 2010


Yes I use OpenLayers 2.8 because it is the stable version, I have same
problem with Google map and I resolved this with

map.getLayersBy('name','google_str')[0].mapObject.checkResize();

I will test the 2.9 version.

Thanks.

Jim

2010/4/19 Andreas Hocevar <ahocevar at opengeo.org>

>
> On Apr 19, 2010, at 17:54 , Jimmy Aumard wrote:
>
> > Thanks!!
> >
> > I have find another solution :
> >
> > map.getLayersBy('name','bing_str')[0].mapObject.Resize(500,500);
> >
> > I resize the bing map object for each layer and it's works.
>
> Oh, in that case I assume you are still using OpenLayers 2.8? This is fixed
> in 2.9 (see http://trac.openlayers.org/ticket/2285).
>
> -Andreas.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100420/1f217b09/attachment.html


More information about the Users mailing list