[OpenLayers-Dev] VML Layer does not redraw

Eric Lemoine eric.lemoine at camptocamp.com
Thu May 7 01:36:19 EDT 2009

On Thursday, May 7, 2009, Felipe Alcacibar <falcacibar at gmail.com> wrote:
> 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)

I would help if you provided a small example, i.e. an HTML page with
the minimal js code to reproduce the problem.


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

More information about the Dev mailing list