The W3C geolocation API is supposed to make getting your location via
JS trivial, but I don't think that any of the desktop implementations
(ff 3.5, gears) support gps devices yet. Could be wrong...

On 2010-01-14, Kenneth Skovhede, GEOGRAF A/S <[email protected]> wrote:
> The tricky part is getting the GPS coordinates into the browser.
> As the javascript is running with limited access, it cannot directly
> read the GPS data.
> You need some sort of browser plugin (or frequent clipboard copy tricks)
> to achieve this.
>
> Once you have the coordinates, you can use MapGuide's coordinate system
> library to
> project the coordinates from lat/lon into your map's coordinate system
> (server side).
>
> Then it is a matter of calling ZoomTo(x, y, scale) in javascript.
>
> Regards, Kenneth Skovhede, GEOGRAF A/S
>
> On 14-01-2010 09:30, Thomas Grosser wrote:
>>
>> Happy New Year to everybody of this mailing list ! We want to show the
>> actual (live) position in MapGuide OS while using a Laptop with an
>> integrated GPS Receiver. Has anyone ideas how this can be realized ?
>> Thanks a lot !
>>
>> Thomas
>>
>>
>> _______________________________________________
>> mapguide-users mailing list
>> [email protected]
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to