From: Cameron S. <cam...@gm...> - 2007-02-16 21:05:35
|
The functions you are looking for are in Proj.js For an example of how they are called, look in lib/widget/CursorTrack.js Hanazaki Machiko wrote: > Hi, > > What function(s) in Mapbuilder converts the coordinates on the map to > the user's cursor coordinates on the screen, and vice versa? For > example, if the user's cursor is on (lon: 20, lat:20) on the map, I > would like to determine the cursor's location relative to the actual > browser screen and use that coordinate in my own script. > > Thanks. > > ------------------------------------------------------------------------ > Be a PS3 game guru. > Get your game face on with the latest PS3 news and previews at Yahoo! > Games. <http://us.rd.yahoo.com/evt=49936/*http://videogames.yahoo.com> > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Mapbuilder-users mailing list > Map...@li... > https://lists.sourceforge.net/lists/listinfo/mapbuilder-users > -- Cameron Shorter Systems Architect, http://lisasoft.com.au Tel: +61 (0)2 8570 5011 Mob: +61 (0)419 142 254 |