[OpenLayers-Users] center crosshairs?

geoman csabbey at gmail.com
Tue Sep 9 15:53:39 EDT 2008


Thanks for the code. It is much more elegant than my solution, but I tried it
and it has the same problem - markers do not pick up events (like mouseover
and click) when they are under the crosshairs.

Btw, specifying the height and width of the image fixed my 'off-center'
problem. 



Mike Quentel-2 wrote:
> 
> OpenLayers.Control.Crosshairs = OpenLayers.Class.create();
> ...
> OpenLayers.Control.Crosshairs.prototype = 
>   OpenLayers.Class.inherit( OpenLayers.Control, {
> ...
>     CLASS_NAME: "OpenLayers.Control.Crosshairs"
> }); 
> 

-- 
View this message in context: http://www.nabble.com/center-crosshairs--tp19398206p19399932.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list