We are trying to do this for a school project. Please let us know if
it is feasible:
Using a GPS receiver and the Google Maps API V3 we are basically
trying to centralize our location based on our current location driven
off the GPS sensor and then get directions to some specified
locations.
We have turned the sensor parameter to true when initializing the map.
However, the map does not centralize to our current GPS coordinates.
What are the correct parameters to use with a GPS USB receiver? Are
there examples that you can point to using API v3 and a GPS receiver?
Thanks,
Darshan
Browsers cannot read external hardware of standard computers at all,
but there is a standardized navigator.geolocation object that some
modern browsers support.
http://code.google.com/apis/maps/documentation/v3/basics.html#Geolocation
Location is based in a database of WiFi carriers. iPhone and Android
phones use their internal GPS instead.
If your GPS has a software that writes its data in a file, you can try
to read that file by JavaScript.
On Feb 23, 8:47 pm, Esa <esa.ilm...@gmail.com> wrote:
> The 'sensor' parameter in api script url parameters is a non-technical
> parameter for statistics. It does not make the api to read any
> external hardware.
>
> Browsers cannot read external hardware of standard computers at all,
> but there is a standardized navigator.geolocation object that some
> modern browsers support.http://code.google.com/apis/maps/documentation/v3/basics.html#Geoloca...