Re: [ServiceWorker] Expose GeoLocation to workers (#745)

Hi,
I am working in the agriculture business. During a crop season it is necessary for all the farmers taking part in a harvesting task to see each other on a map to be able to join somebody who isn't done yet with his field. Harvester and transporter are working closely together.

Further the traces are used afterwards to generate precise work logs to see where the harvester have been and how long it took to harvest a particular field. Traces are also used to make sure that chemicals are only used on the allowed field.

There are already multiple native solutions to solve these problem but it would be awesome if this can be solved using a native API.

So technically what I need is an API that I can tell that it should send reliable message with the position of the device to a given URL for a certain timeframe. If the device is offline it will collect the message and the next time it is online if will send all messages in the queue. The message should expire after a given time.

When the browser asks to do this tracking the user should be asked if it wants to allow the particular website to track it position for a certain period of time.

Hope that use case helps to enhance the APIs.

/Manuel

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/745#issuecomment-148934252

Received on Saturday, 17 October 2015 17:03:41 UTC