[OpenLayers-Dev] VML Layer does not redraw

Felipe Alcacibar falcacibar at gmail.com
Wed May 6 23:35:59 EDT 2009


Hi, i have a local WMS base layer and a "dynamic" vector layer. To the
vector layer i
add features when i got the response of a spatial query, here is the example:

layer.destroyFeatures();
layer.addFeatures(OpenLayers.Format.GeoJSON.prototype.read(req.responseText));
layer.redraw();


With the SVG render that works ok, but in the vml render does not
appear graphicaly, but
in the object i have the feature, and it seems to be drawed in the VML
source but i cannot
see =/.

I tried before using a GML layer with GeoJSON format, but i need to
handle manually the
vector layer because i need to display some message and handle an
error if the request
fails.

I'm using Internet Explorer 7, and OpenLayers 2.7 (i try few minutes
before with the last
stable version available)

Cheers!...

Felipe



More information about the Dev mailing list