AW: [OpenLayers-Users] crosshair control

Bart van den Eijnden bartvde at osgis.nl
Wed Jul 6 03:00:35 EDT 2011


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
bartvde at osgis.nl

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: kgeusebroek at xebia.com
> 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: openlayers-users-bounces at lists.osgeo.org
>> [mailto:openlayers-users-bounces at lists.osgeo.org] Im Auftrag von lars
>> lingner
>> Gesendet: Dienstag, 5. Juli 2011 21:20
>> An: openlayers-users at lists.osgeo.org
>> 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
>> Users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>> 
>> _______________________________________________
>> Users mailing list
>> Users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/openlayers-users
> 
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110706/13bf482f/attachment-0001.html


More information about the Users mailing list