[OpenLayers-Dev] beginning

Smaran Harihar smaran.harihar at gmail.com
Thu May 3 13:15:44 EDT 2012


Hi OpenLayerDevs,

I am creating a OpenLayer App for the first time and I trying out some of
the functionalities.

1. I added the
map.addControl(new OpenLayers.Control.MousePosition({element: $('location'
)}));
and created a <div id="location">Position</div>

I wanted the mouse position to be displayed in the Div, but instead the
position is coming on the bottom left of the map. Any solutions?

-- 
Thanks & Regards
Smaran Harihar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20120503/4a083984/attachment.html


More information about the Dev mailing list