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.

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to