[OpenLayers-Users] Show center of the map

erndev erndev at gmail.com
Sat Jul 16 14:08:14 EDT 2011


Hi

i have a map, in which i should mark the center of it. When i drag the map,
this mark should stay in the center of the map window (not in the center
using coordinates).
I could position an icon, or maybe draw two lines forming a cross, or a
point in a vector layer.

I am able to display markers in some coordinates, but obvisouly when i drag
the map, the marker moves to it's new position in the map. But i don't know
if the marker can be set in a position of the window control instead of the
map, so that it keeps it's position when the map is dragged.

best regards



--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Show-center-of-the-map-tp6590114p6590114.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list