[OpenLayers-Users] IE strange behavior

Benoit PESTY tchule at hotmail.com
Tue Sep 4 10:59:51 EDT 2007


Hello,

A little post just to ask for some ideas, I have some strange behaviors with 
IE 7.0 that are maybe not completely related to OpenLayers but just in case 
...

The context, I'm working on an application that needs to export and import 
some vector data in KML.

Using Damien Corpataux's version of the KML.js we have managed to get the 
import/export functions working well in Firefox and IE.
Now I would like to do some projection on the coordinates to keep the KML in 
lon/lat and my map in EPSG:27572. Damien has done a little developpement for 
me that works well with Firefox but strangely the vectors don't draw in IE.

I've done a the following test : I draw a triangle, I export it i KML, I 
clear my map, I import the KML and then I export the newly imported KML.

In the non-projected version, the fisrt and the second import are exactly 
the same, as expected, and the import is drawn om my map.
In the projected version, I have a small difference in the coordinates and 
the import is not draw on my map.

First export :
<coordinates>
4.620034740012564,49.409559065259025
3.33616413916347,47.82891045535813
7.7242064257900695,48.13470134048659
4.620034740012564,49.409559065259025
</coordinates>

Second export :
<coordinates>
4.620034740002527,49.409559065138175
3.3361641391562244,47.828910455236745
7.724206425773293,48.13470134036537
4.620034740002527,49.409559065138175
</coordinates>

The difference in the coordinates doesn't explain why the triangle is not 
drawn.

Some other strange things :

* When I draw a polyline with IE, the last plot is always repeated (event if 
I use SHIFT+clic instead of a double-clic).

* When I draw a single vertical line in IE it doesn't appear on screen. A 
ligne in diag is shown.

Regards,

Tchule.

_________________________________________________________________
Get a FREE small business Web site and more from Microsoft® Office Live! 
http://clk.atdmt.com/MRT/go/aub0930003811mrt/direct/01/




More information about the Users mailing list