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.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 > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > > > > > > __________ Information provenant d'ESET NOD32 Antivirus, version de la base > des signatures de virus 5009 (20100408) __________ > > Le message a été vérifié par ESET NOD32 Antivirus. > > http://www.eset.com > > > > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users