[OpenLayers-Dev] Vector features misplaced after map resize in Chrome

adube at mapgears.com adube at mapgears.com
Sat Apr 14 08:54:32 EDT 2012


Alright.  Thanks Eric for pointing that out.

Alexandre


-----Original Message-----
From: "Eric Lemoine" <eric.lemoine at camptocamp.com>
Sent: Saturday, April 14, 2012 4:45am
To: "Alexandre Dube" <adube at mapgears.com>
Cc: "OpenLayers dev mailing list" <openlayers-dev at lists.osgeo.org>
Subject: Re: [OpenLayers-Dev] Vector features misplaced after map resize in Chrome

On Friday, April 13, 2012, Alexandre Dube wrote:

> Hi,
>
>  I bumped into an issue today which is demonstrated in 2.11 and 2.12-rc1 :
>
>    http://dev8.mapgears.com/**openlayers/2.12-rc1/examples/**
> draw-feature-full.html<http://dev8.mapgears.com/openlayers/2.12-rc1/examples/draw-feature-full.html>
>    http://dev8.mapgears.com/**openlayers/2.11/examples/draw-**
> feature-full.html<http://dev8.mapgears.com/openlayers/2.11/examples/draw-feature-full.html>
>
>  * A draw feature control with polygon handler is active, so draw a
> feature.
>  * Reduce the size of your Chrome browser
>  * You'll see that the vector didn't follow the change of size.  Even
> point feature of the drawFeature control doesn't point where the cursor is.
>
>  I tested with 18.0.1025.152m and 18.0.1025.162m on a Ubuntu 10.04 and
> Windows XP, and 18.0.1025.142m on Windows 7.
>
>  My guess is that it was introduced by an update in Chrome, but could it
> be an issue in OpenLayers ?



This is a hot topic already. <
https://github.com/openlayers/openlayers/issues/392>. I haven't looked at
the issue into detail and don't know if we can or should fix that in
OpenLayers.




-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com




More information about the Dev mailing list