Re: [pmapper-users] geo to pixel coordinates

2010-04-08 Thread Thomas RAFFIN
Hi Maybe those functions could help you : PM.Draw.toGeoPoint and PM.Draw.toPxPoint in javascript/src/pm.draw.js file Thomas Le 08/04/2010 12:00, Josh Jordan a écrit : > I need to get pixel coordinates from geo coordinates so I can make mouse > clicks snap to data points. I see we have PM.ZoomB

[pmapper-users] geo to pixel coordinates

2010-04-08 Thread Josh Jordan
I need to get pixel coordinates from geo coordinates so I can make mouse clicks snap to data points.  I see we have PM.ZoomBox.getGeoCoords( clickX, clickY) to get geo coordinates from pixel coordinates.  How do you go the other way, get pixel coordinates from geo coordinates? Best regards,josh