Hi, i&#39;m searching at google and some list about geolocation and openlayers and i get set lonLat at map and rotation of the image, but can&#39;t join the rotated image in the lonLat<div><br><div>i send here my example OpenLayer javascript, if some can see my trouble and help me to fix it!.. </div>

<div>i don&#39;t know any of javascript, i&#39;ll try to adapt other code into my. so...</div><div>here is.</div><div><br></div><div><br></div><div><div>&lt;html&gt;&lt;body&gt;</div><div>  &lt;div id=&quot;mapdiv&quot;&gt;&lt;/div&gt;</div>

<div>  &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;</div><div>  &lt;script&gt;</div><div>    map = new OpenLayers.Map(&quot;mapdiv&quot;);</div>

<div>    map.addLayer(new OpenLayers.Layer.OSM());</div><div>    lon = -81.094400;</div><div>    lat = 17.585400;</div><div>    var lonLat = new OpenLayers.LonLat( lon, lat )</div><div>         .transform(</div><div>            new OpenLayers.Projection(&quot;EPSG:4326&quot;),</div>

<div>            map.getProjectionObject()</div><div>            );</div><div>    var zoom = 6;</div><div>    var markers = new OpenLayers.Layer.Markers( &quot;Markers&quot; );</div><div>    var icon = new OpenLayers.Icon(&quot;./images/airplane.gif&quot;);</div>

<div>    var planes=new OpenLayers.Layer.Vector(&quot;Planes&quot;,</div><div>             {</div><div>             styleMap: new OpenLayers.StyleMap({</div><div>                        &quot;default&quot;: {</div><div>                                     externalGraphic: &quot;./images/airplane.gif&quot;,</div>

<div>                                     graphicWidth: 16,</div><div>                                     graphicHeight: 16,</div><div>                                     graphicYOffset: 0,</div><div>                                     rotation: &quot;${angle}&quot;,</div>

<div>                                     fillOpacity: &quot;${opacity}&quot;</div><div>                                    }</div><div>                        })</div><div>             }); </div><div>    var feature=new OpenLayers.Feature.Vector(</div>

<div>      new OpenLayers.Geometry.Point( lon, lat), {&quot;angle&quot;: 45, opacity: 100});</div><div>    planes.addFeatures([feature]); </div><div>    map.addLayer(planes);</div><div>    map.setCenter (lonLat, zoom);</div>

<div>  &lt;/script&gt;</div><div>&lt;/body&gt;&lt;/html&gt;</div></div><div><br></div><div><div><br></div>-- <br><font color="#888888"><font color="#888888">Antonio Pe</font><span><font color="#888888">ñ</font></span><font color="#888888">a</font><span></span><br>

<font color="#888888">Secure email with PGP 0x8B021001 available at <a href="http://pgp.mit.edu" target="_blank">http://pgp.mit.edu</a><br></font></font><font color="#888888">
<font color="#888888">Fingerprint: 74E6 2974 B090 366D CE71  7BB2 6476 FA09 8B02 1001</font></font><br>
</div></div>