<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    I don't think it's the solution. In my last mail I create an example
    where the dragFeature worked with IE8 and FireFox, but not with IE9.
    I create also the example with removing the rotation, but in my case
    I need this functionality.<br>
    I think it's a bug of OL, but I don't know where to look for.<br>
    <br>
    Regards, Peter<br>
    <br>
    Op 9-2-2012 14:42, digitalfox schreef:
    <blockquote cite="mid:1328794927119-4379406.post@n6.nabble.com"
      type="cite"><b>Solution found!</b>
      <p>
        After basically two days of constant debugging by removing and
        adding functionality piece by piece, I've figured out what
        caused the problem.
      </p>
      <p>
        As I've stated earlier, we create a StypeMap based on the
        default styles of the Vector-layer and extended with our custom
        values. While debugging, I noticed that if the StyleMap used
        only the default styles of the Vector-layer, the
        SelectFeature-control would function in all versions of Internet
        Explorer. But if we added our custom styles, the
        SelectFeature-control would fail. So why was this?
      </p>
      <p>
        The style-property that was causing the problem was the <b>rotation</b>-property.
        We added this to the styles with a value of '0', i.e. no
        rotation as the default value for the property. However, this
        caused our features to not be selectable when using Internenet
        Explorer versions older than 9 (verified using IE9 CV, IE8,
        IE7). Everything works great in FireFox and Chrome though!
      </p>
      <p>
        Simply removing the property from the styles solved the problem!
      </p>
      <br>
      <hr align="left" width="300">
      View this message in context: <a moz-do-not-send="true"
href="http://osgeo-org.1560.n6.nabble.com/SelectFeature-when-using-IE-9-or-IE9-Compatibility-View-tp4368621p4379406.html">Re:
        SelectFeature when using IE&lt;9 or IE9 Compatibility View</a><br>
      Sent from the <a moz-do-not-send="true"
href="http://osgeo-org.1560.n6.nabble.com/OpenLayers-Users-f3910695.html">OpenLayers
        Users mailing list archive</a> at Nabble.com.<br>
    </blockquote>
    <br>
  </body>
</html>