my code like this:
      var style_blue = OpenLayers.Util.extend({}, 
OpenLayers.Feature.Vector.style['default']);
      style_blue.cursor='pointer';
      style_blue.fontColor='#343434';
      style_blue.externalGraphic="images/device/loufang.png";
      style_blue.graphicHeight='16';
      style_blue.graphicWidth='16';
      var point = new 
OpenLayers.Geometry.Point(12576735.085414,3271755.6191489);
      var pointFeatures = new OpenLayers.Feature.Vector(point, null, 
style_blue);
      vector_layer_current.addFeatures([pointFeatures]);
it works right in firefox,but it doesn't work in ie10/9;
if I remove 
style_blue.graphicHeight='16';
      style_blue.graphicWidth='16';
it works right;

ie9/10 already support svg.but OL 2.12 still render used vml.

------------------
========================================================================================
  
 

OpenGSC

????OGC????????????GIS??
_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to