thanks!<br>I will try !<br><br><div><div style="color:#909090;font-family:Arial Narrow;font-size:12px">------------------</div><div style="font-size:14px;font-family:Verdana;color:#000;"><font><div><span style="font-size: small;"><font color="#000080" face="Verdana"><font color="#c0c0c0" face="Verdana"><div><font color="#c0c0c0" face="Verdana"><span style="color: rgb(51, 102, 255);">========================================================================================  </span><br> </font></div></font></font><span style="color: rgb(51, 102, 255);"><br>OpenGSC<br><br>专注OGC,玩儿转开源GIS!</span></span><br></div></font></div></div><div> </div><div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ 原始邮件 ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>发件人:</b> "Andreas Hocevar"<ahocevar@opengeo.org>;</div><div><b>发送时间:</b> 2013年4月2日(星期二) 下午2:49</div><div><b>收件人:</b> "longsen"<945070223@qq.com>; <wbr></div><div><b>抄送:</b> "openlayers-users"<openlayers-users@lists.osgeo.org>; <wbr></div><div><b>主题:</b> Re: [OpenLayers-Users] graphicWidth symbol can't be used in IE</div></div><div><br></div>To make IE9/10 use SVG, you have to use the html doctype for your HTML document:<br><br><!DOCTYPE html><br><br>Otherwise IE9/10 will enter a compatibility mode.<br><br>Andreas.<br><br>On Mon, Apr 1, 2013 at 10:11 AM, longsen <945070223@qq.com> wrote:<br>> my code like this:<br>>       var style_blue = OpenLayers.Util.extend({},<br>> OpenLayers.Feature.Vector.style['default']);<br>>       style_blue.cursor='pointer';<br>>       style_blue.fontColor='#343434';<br>>       style_blue.externalGraphic="images/device/loufang.png";<br>>       style_blue.graphicHeight='16';<br>>       style_blue.graphicWidth='16';<br>>       var point = new<br>> OpenLayers.Geometry.Point(12576735.085414,3271755.6191489);<br>>       var pointFeatures = new OpenLayers.Feature.Vector(point, null,<br>> style_blue);<br>>       vector_layer_current.addFeatures([pointFeatures]);<br>> it works right in firefox,but it doesn't work in ie10/9;<br>> if I remove<br>> style_blue.graphicHeight='16';<br>>       style_blue.graphicWidth='16';<br>> it works right;<br>><br>> ie9/10 already support svg.but OL 2.12 still render used vml.<br>><br>> ------------------<br>> ========================================================================================<br>><br>> OpenGSC<br>><br>> 专注OGC,玩儿转开源GIS!<br>><br>><br>> _______________________________________________<br>> Users mailing list<br>> Users@lists.osgeo.org<br>> http://lists.osgeo.org/mailman/listinfo/openlayers-users<br>><br><br><br><br>-- <br>Andreas Hocevar<br>OpenGeo - http://opengeo.org/<br>Expert service straight from the developers.<br></div>