Hi, The Maps API doesn't expect any input from the sensor, it won't take the NMEA output from your GPS device or anything like that. The closest you can have to that (and is not real-time) is converting the NMEA file to KML and showing it in the API.
To show those coordinates real-time, you need to handle this by yourself (likely server-side) and feed it to a web application that would display some sort of marker on a map using the API. The map would need to somehow re-request the current GPS position every second or so to update that marker in real-time. On a side note, the sensor parameter is set to "indicate whether your application is using a sensor (such as a GPS locator) to determine the user's location" and your application is not using the sensor for that purpose. Your application would rather fall int he "asset tracking" category, which to my understanding doesn't retrieve "user's location". Cheers, Miguel On Tue, Jun 1, 2010 at 10:33, atharva <[email protected]> wrote: > Does anyone know? any google Technical experts here? > > thanks > > On May 31, 12:24 am, atharva <[email protected]> wrote: > > hey > > > > I have a helicopter with a GPS onboard. I want to plot this GPS > > position on google maps in realtime. I understand that i need to set > > the sensor parameter to true but I am wondering what Google Maps > > expects as an input for sensor data. > > > > The GPS from the helicopter sends back data at 1Hz using the NMEA > > strings. Can someone point me in the right direction? > > > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-maps-js-api-v3%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
