[mapguide-users] Tracking location in MapGuide OS on a Notebook with GPS receiver

Jason Birch jason at jasonbirch.com
Thu Jan 14 04:02:51 EST 2010


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 <ks at geograf.dk> 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
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>


More information about the mapguide-users mailing list