[OpenLayers-Users] Re: Mouse position coordinates

Graham Gauld graham.gauld at aberdeenshire.gov.uk
Thu Jul 28 10:32:17 EDT 2011


Hi Richard,

Thanks for the reply.
I had thought originally that the cursor 'hot spot' might have been the
problem, but after investigation it didn't appear to be.
One thing is that I'm using the 'cross-hair' cursor, so I should be
positioning the cursor correctly over the point I want but am still getting
a position offset to the south east.

Also I've got another (fairly reliable) mapping application I can use to
compare with the coordinate values from my OpenLayers application, and that
indicates the coords are all offset in the OpenLayers application.

I should be getting behaviour like the 'OpenLayers Draw Feature Example',
where points and lines are digitised true to the position of the cursor when
the mouse button is pressed, but I'm actually getting symbol and line
features which are noticeably offset.

Graham

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Mouse-position-coordinates-tp6625649p6630067.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list