[mapguide-users] Get Coordinates
Kenneth Skovhede, GEOGRAF A/S
ks at geograf.dk
Thu Jul 10 05:39:11 EDT 2008
I haven't used it myself, but there is coordinate system transformation
in MGOS:
http://mapguide.osgeo.org/files/mapguide/docs/webapi/da/d12/class_mg_coordinate_system_transform_b3ea9ac41c3703820559a5920e9a5ac5.htm
You will need to create the coordinate systems first:
http://mapguide.osgeo.org/files/mapguide/docs/webapi/d3/daa/class_mg_coordinate_system_factory.htm
Regards, Kenneth Skovhede, GEOGRAF A/S
gimbrogno skrev:
> Hi all, I have solved using the suggestions of Dorin333...
> I managed the DigitizePoint() function in the js, so when I click there is a
> popup with the coordinates (meters), but now I have to convert it into
> latlon. There is alredy a function that make this?
>
> Thanks a lot to all
>
>
>
> Kenneth Skovhede, GEOGRAF A/S wrote:
>
>> It's a bit unclear what you want.
>> If you want to get the coordinate when you click, Dorin is correct.
>> The javascript function is called "DigitizePoint".
>>
>> If you want to display the coordinates as the mouse moves, you will have
>> to
>> study the file "ajaxmappane.templ" and figure out what function to hook
>> into.
>>
>> Regards, Kenneth Skovhede, GEOGRAF A/S
>>
>>
>>
>> Dorin skrev:
>>
>>> Hi,
>>> On the phpviewer sample (PHP code) you have a markup option, and you
>>> can create on a click mouse on a map (get coordinate x,y) an point.You
>>> can studying this samples in order to find a solution.
>>> Dorin
>>>
>>> ----- Original Message ----
>>> From: gimbrogno <magnitudo9 at email.it>
>>> To: mapguide-users at lists.osgeo.org
>>> Sent: Tuesday, July 8, 2008 6:28:46 PM
>>> Subject: Re: [mapguide-users] Get Coordinates
>>>
>>>
>>> Hi I have the same problem... Have you solved? Can you or any other
>>> people
>>> help me to solve my problem?
>>>
>>> Thanks a lot
>>>
>>>
>>>
>>> Jhonn Jairo Vesga Cadena wrote:
>>>
>>>> Hi, i have a map in autodesk studio 2007, and i need to solve this
>>>>
>>> issue:
>>>
>>>> I need to create a point begins by click on the map, when i click the
>>>> application launch a window where i get the X and Y coordinate, the
>>>> problem its that, how can i get that coordinate??
>>>>
>>>> Some ideas??
>>>>
>>>> Thanks
>>>>
>>>> --
>>>> att:
>>>>
>>>> Jhonn Jairo Vesga Cadena
>>>>
>>>> Móvil:
>>>> Movistar: 316-524-4147
>>>> _______________________________________________
>>>> mapguide-users mailing list
>>>> mapguide-users at lists.osgeo.org <mailto:mapguide-users at lists.osgeo.org>
>>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>>>
>>>>
>>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Get-Coordinates-tp13951030p18341934.html
>>> Sent from the MapGuide Users mailing list archive at Nabble.com
>>> <http://Nabble.com>.
>>>
>>> _______________________________________________
>>> mapguide-users mailing list
>>> mapguide-users at lists.osgeo.org <mailto:mapguide-users at lists.osgeo.org>
>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> mapguide-users mailing list
>>> mapguide-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>>
>>>
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080710/d68fb4e8/attachment.html
More information about the mapguide-users
mailing list