[OpenLayers-Users] center crosshairs?
geoman
csabbey at gmail.com
Tue Sep 9 16:01:01 EDT 2008
My image doesn't move with the map b/c I stuck it in the
map_OpenLayers_ViewPort div (which I probably shouldn't do), so I don't need
to recenter when the map moves. I do need to recenter when the window is
resized, and there is a handy event for that: window.onresize;
-Craig
Eric Lemoine-3 wrote:
>
> Hi. You can probably register a moveend listener and re-center the
> marker on each map move. Eric
>
--
View this message in context: http://www.nabble.com/center-crosshairs--tp19398206p19400052.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list