Hello Michael,

Thank you for quick reply.
So for example if getScaleX() returns 100 what that means, 
100 mm per pixel, 100 inches per pixel or 100 m per pixel?

Thanks.


mbedward wrote:
> 
>> I need to know in every moment linear distance of the coordinate
>> system of the map in meters per pixel.
> 
> mapPane.getScreenToWorldTransform().getScaleX() will give you the
> distance units per pixel value
> 
> Michael
> 
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9-12, 2009. Register
> now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/JMapPane-getWorldToScreenTransform-getScaleX-tp3711592p3711869.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to