[OpenLayers-Users] crosshair control

lars lingner gislars+list at googlemail.com
Tue Jul 5 15:20:11 EDT 2011


Hello list,

I'm looking for a crosshair control in OL. The control should display a
crossing horizontal and a vertical line, following the curser. The
intersection would be the current mouse position.
The lines reaches from one mapframe border to the opposite border.

Optionally I want to display the position coordinates "somewhere nearby"
the mouse position or at an fixed position on the map.

Does anybody done this before? I couldn't find such a thing.

If there isn't any code what would be the best way to implement it?

Thank you for any ideas or links!

Lars


More information about the Users mailing list