[OpenLayers-Users] Linestring behavior in IE6
Benoit Myard
myardbenoit at gmail.com
Tue Jun 19 09:58:55 EDT 2007
Hi list,
I'm experiencing a strange behavior with OpenLayers' Vector layer
based upon OpenLayers Feature. Dunno if I'm any understandable but
anyway, here is what I do:
var points = [];
points.push(new OpenLayers.Geometry.Point(1, 2));
// ...
var target = new OpenLayers.Layer.Vector("My layer");
map.addLayer(target);
target.addFeatures([new OpenLayers.Feature.Vector(
new OpenLayers.Geometry.LineString(points))]);
And I end up with a nice line in Firefox and IE7 but with a
white-filled polygon in IE6 [1]. Strangely, the white-fill
disappears once I zoom in [2] and does *not*
reappear when I zoom out.
Any idea ?
Thanks in advance.
[1] http://88.191.48.4/feature_1.jpeg
[2] http://88.191.48.4/feature_2.jpeg
--
Benoit Myard
More information about the Users
mailing list