[OpenLayers-Users] Bing maps with dynamic resized map bug
Jimmy Aumard
jimmy.aumard at gmail.com
Thu Apr 22 03:25:58 EDT 2010
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.
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100422/3f363f62/attachment.html
More information about the Users
mailing list