On 16 June 2011 19:50, khalid Amiral <[email protected]> wrote:
> Yes, that gives the result. But by code I get coordinates when user click on
> mouse in the map by
> (setQueryPoint((int)ev.getMapPosition().x,(int)ev.getMapPosition().y)) and
> it's not pixel ! should'I have to use a method that converts coordinates in
> pixels?
>


I think that it extends MouseEvent which will give you  getX() and
getY() methods which should give you the pixel positions.

Ian

-- 
Ian Turton

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to