<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi, tries this<br><br>Longitude<br>grade=(int)point.X/60<br>minutes=(int) point.X/3600<br>rests are seconds<br> <br>Latitude<br>grades=(int)point.Y/60<br>
minutes=(int) point.Y/3600<br>
rests are seconds<br>
<br><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;">----- Original Message ----<br>From: gimbrogno <magnitudo9@email.it><br>To: mapguide-users@lists.osgeo.org<br>Sent: Thursday, July 10, 2008 12:33:58 PM<br>Subject: Re: [mapguide-users] Get Coordinates<br><br>
<br>Hi all, I have solved using the suggestions of Dorin333...<br>I managed the DigitizePoint() function in the js, so when I click there is a<br>popup with the coordinates (meters), but now I have to convert it into<br>latlon. There is alredy a function that make this?<br><br>Thanks a lot to all<br><br><br><br>Kenneth Skovhede, GEOGRAF A/S wrote:<br>> <br>> It's a bit unclear what you want.<br>> If you want to get the coordinate when you click, Dorin is correct.<br>> The javascript function is called "DigitizePoint".<br>> <br>> If you want to display the coordinates as the mouse moves, you will have<br>> to<br>> study the file "ajaxmappane.templ" and figure out what function to hook <br>> into.<br>> <br>> Regards, Kenneth Skovhede, GEOGRAF A/S<br>> <br>> <br>> <br>> Dorin skrev:<br>>> Hi,<br>>> On the phpviewer sample (PHP code) you have a markup option, and you <br>>> can create on a click
mouse on a map (get coordinate x,y) an point.You <br>>> can studying this samples in order to find a solution.<br>>> Dorin<br>>><br>>> ----- Original Message ----<br>>> From: gimbrogno <<a ymailto="mailto:magnitudo9@email.it" href="mailto:magnitudo9@email.it">magnitudo9@email.it</a>><br>>> To: <a ymailto="mailto:mapguide-users@lists.osgeo.org" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>>> Sent: Tuesday, July 8, 2008 6:28:46 PM<br>>> Subject: Re: [mapguide-users] Get Coordinates<br>>><br>>><br>>> Hi I have the same problem... Have you solved? Can you or any other<br>>> people<br>>> help me to solve my problem?<br>>><br>>> Thanks a lot<br>>><br>>><br>>><br>>> Jhonn Jairo Vesga Cadena wrote:<br>>> ><br>>> > Hi, i have a map in autodesk studio 2007, and i need to solve this
<br>>> issue:<br>>> ><br>>> > I need to create a point begins by click on the map, when i click the<br>>> > application launch a window where i get the X and Y coordinate, the<br>>> > problem its that, how can i get that coordinate??<br>>> ><br>>> > Some ideas??<br>>> ><br>>> > Thanks<br>>> ><br>>> > --<br>>> > att:<br>>> ><br>>> > Jhonn Jairo Vesga Cadena<br>>> ><br>>> > Móvil:<br>>> > Movistar: 316-524-4147<br>>> > _______________________________________________<br>>> > mapguide-users mailing list<br>>> > <a ymailto="mailto:mapguide-users@lists.osgeo.org" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a> <mailto:<a ymailto="mailto:mapguide-users@lists.osgeo.org"
href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>><br>>> > <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>>> ><br>>> ><br>>><br>>> -- <br>>> View this message in context: <br>>> <a href="http://www.nabble.com/Get-Coordinates-tp13951030p18341934.html" target="_blank">http://www.nabble.com/Get-Coordinates-tp13951030p18341934.html</a><br>>> Sent from the MapGuide Users mailing list archive at <a target="_blank" href="http://Nabble.com">Nabble.com</a> <br>>> <<a href="http://Nabble.com" target="_blank">http://Nabble.com</a>>.<br>>><br>>> _______________________________________________<br>>> mapguide-users mailing list<br>>> <a ymailto="mailto:mapguide-users@lists.osgeo.org"
href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a> <mailto:<a ymailto="mailto:mapguide-users@lists.osgeo.org" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>><br>>> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>>><br>>> ------------------------------------------------------------------------<br>>><br>>> _______________________________________________<br>>> mapguide-users mailing list<br>>> <a ymailto="mailto:mapguide-users@lists.osgeo.org" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>>> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>>> <br>> <br>>
_______________________________________________<br>> mapguide-users mailing list<br>> <a ymailto="mailto:mapguide-users@lists.osgeo.org" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>> <br>> <br><br>-- <br>View this message in context: <a href="http://www.nabble.com/Get-Coordinates-tp13951030p18379167.html" target="_blank">http://www.nabble.com/Get-Coordinates-tp13951030p18379167.html</a><br>Sent from the MapGuide Users mailing list archive at Nabble.com.<br><br>_______________________________________________<br>mapguide-users mailing list<br><a ymailto="mailto:mapguide-users@lists.osgeo.org" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users"
target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br></div></div></div><br>
</body></html>