Hello everyone,<br><br>Please check the code below. This is a very simple map with an event listener that shows the coordinates when you click on it. It works on every know web browser in the world, Firefox, Opera, Chrome, except for ... yes you guessed it, Internet Explorer!<br>
<br>Is there any work around for this? Is it worth to dedicate time to this? Is OpenLayers supposed to work with IE?<br><br>Thank you,<br><br>Luís<br><br><br>&lt;html&gt;<br>  &lt;head&gt;<br>    &lt;title&gt;OpenLayers Demo&lt;/title&gt;<br>
    &lt;style type=&quot;text/css&quot;&gt;<br>      html, body, #basicMap {<br>          width: 400px;<br>          height: 300px;<br>          margin: 0;<br>      }<br>    &lt;/style&gt;<br>    &lt;script src=&quot;<a href="http://www.openlayers.org/api/OpenLayers.js">http://www.openlayers.org/api/OpenLayers.js</a>&quot;&gt;&lt;/script&gt;<br>
    &lt;script src=&#39;<a href="http://maps.google.com/maps?file=api&amp;amp;v=2&amp;amp;key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ">http://maps.google.com/maps?file=api&amp;amp;v=2&amp;amp;key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ</a>&#39;&gt;&lt;/script&gt;<br>
    &lt;script&gt;<br>      function init() {<br>        map = new OpenLayers.Map(&quot;basicMap&quot;);<br>        var gphy = new OpenLayers.Layer.Google(<br>                &quot;Google Physical&quot;,<br>                {type: G_PHYSICAL_MAP}<br>
            );<br>            <br>        map.addLayer(gphy);<br>        map.zoomToMaxExtent();<br>        OpenLayers.Event.observe($(&#39;basicMap&#39;),&quot;click&quot;,showCoords.bindAsEventListener(map));<br>      }<br>
      <br>      function showCoords(e)<br>      {<br>       var LL = this.getLonLatFromPixel (e.xy);<br>         window.alert(LL);<br>      }<br>    &lt;/script&gt;<br>  &lt;/head&gt;<br>  &lt;body onload=&quot;init();&quot;&gt;<br>
    &lt;div id=&quot;basicMap&quot;&gt;&lt;/div&gt;<br>  &lt;/body&gt;<br>&lt;/html&gt;<br><br> <br>