Kind of like how this site has it? You may be able to dig through the sources of this page and do it. <br><br><a href="http://mapper.acme.com/">http://mapper.acme.com/</a><br><br><br><br><div class="gmail_quote">On Sat, Jul 16, 2011 at 12:08 PM, erndev <span dir="ltr"><<a href="mailto:erndev@gmail.com">erndev@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi<br>
<br>
i have a map, in which i should mark the center of it. When i drag the map,<br>
this mark should stay in the center of the map window (not in the center<br>
using coordinates).<br>
I could position an icon, or maybe draw two lines forming a cross, or a<br>
point in a vector layer.<br>
<br>
I am able to display markers in some coordinates, but obvisouly when i drag<br>
the map, the marker moves to it's new position in the map. But i don't know<br>
if the marker can be set in a position of the window control instead of the<br>
map, so that it keeps it's position when the map is dragged.<br>
<br>
best regards<br>
<font color="#888888"><br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Show-center-of-the-map-tp6590114p6590114.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/Show-center-of-the-map-tp6590114p6590114.html</a><br>
Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
</font></blockquote></div><br>