[OpenLayers-Dev] SVG render in IE9

Denis Rykov rykovd at gmail.com
Tue Aug 2 06:23:46 EDT 2011


Try to use SVG render with IE9 and get an error: "Your browser does not
support vector rendering".
OpenLayers breaks on 558 line of addFeatures method in Vector.js file:
"this.renderer.locked = true;" - is null or undefined.
The way I use for adding layer:
    var geojson_format = new OpenLayers.Format.GeoJSON();
    map_vector_layer = new OpenLayers.Layer.Vector("", {styleMap: sm,
rendererOptions: {zIndexing: true}});
    map.addLayer(map_vector_layer);
    map_vector_layer.addFeatures(geojson_format.read(regions));
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20110802/d9393984/attachment.html


More information about the Dev mailing list