[OpenLayers-Users] Bing maps with dynamic resized map bug
Andreas Hocevar
ahocevar at opengeo.org
Thu Apr 22 04:12:32 EDT 2010
On Apr 22, 2010, at 09:25 , Jimmy Aumard wrote:
> Hello,
>
> I have test the 2.9 RC3 version of OpenLayers and I have always the bugs if I show a bing map, resize the map and change layer to google map. the google map object was not resized.
Please provide a minimal example that shows the issue.
Regards,
Andreas.
>
> Thanks
>
> Jim
>
> 2010/4/20 Jimmy Aumard <jimmy.aumard at gmail.com>
> 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.
>
>
>
>
>
> --
> Aumard Jimmy
> Développeur
>
> KINAXIA
> c/o CICA / PacaEst
> 2229 Route des Crêtes
> F-06560 Sophia Antipolis
>
> Tél.: +33 (0)4 8973 0242
> Mob.: +33 (0)6 6017 2827
> Fax : +33 (0)4 8307 6583
>
> http://www.kinaxia.fr
--
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
More information about the Users
mailing list