No he wants the crosshair to go from one map border to the other one. I think this would require writing a custom control. Shouldn't be too hard though.
Best regards, Bart -- Looking for flexible support on OpenLayers or GeoExt? Please check out http://www.osgis.nl/support.html Bart van den Eijnden OSGIS [email protected] On Jul 6, 2011, at 8:41 AM, Kris Geusebroek wrote: > Hi > > I don't think you need Openlayers for this > > you can just change the cursor with css > > see: http://www.permadi.com/tutorial/cssCustomCursor/ > > Cheers Kris > > Met vriendelijke groet, Kind regards, > > Kristiaan Geusebroek > Consultant > > > <image005.jpg><image006.png> > > > > Email: [email protected] > Tel: +31 (0)35 538 1921 > Fax: +31 (0)35 538 1922 > Mobiel: +31 (0)6 3069 7223 > > Utrechtseweg 49 > 1213 TL Hilversum > The Netherlands > http://www.xebia.com > > Xebia Blog: http://blog.xebia.com/ > > > On Jul 5, 2011, at 11:59 PM, Arnd Wippermann wrote: > >> Hi, >> >> Perhaps that could give an idea: >> >> http://osgeo-org.1803224.n2.nabble.com/center-crosshairs-td1827008.html >> >> Arnd >> >> -----Ursprüngliche Nachricht----- >> Von: [email protected] >> [mailto:[email protected]] Im Auftrag von lars >> lingner >> Gesendet: Dienstag, 5. Juli 2011 21:20 >> An: [email protected] >> Betreff: [OpenLayers-Users] crosshair control >> >> 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 >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/openlayers-users >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/openlayers-users > > _______________________________________________ > Users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/openlayers-users
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
