[ka-Map-users] GeoCoordinates to Pixel position

ramesh karra karrarm at yahoo.com
Wed May 10 18:48:38 EDT 2006


Hi,

I am trying to figure out the correct pixel position
for a given geo-coordinates in all zoom levels.

I looked at the code, and it looks like the following
sequence 

p = kaMap.geoToPix(geox,geoy) 
newxy = kaMap.currentTool.adjustPixPosition(p[0]*-1,
p[1]*-1)

seem to work fine if the zoom level is not changed but
only extents are changed.

How do I calculate the correct pixel position when
zoom level(or scales) change?

Thanks
Ramesh

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the ka-Map-users mailing list