I am trying to move my code for navigator.geolocation in a web worker.
I tried it with Chrome and Safari but getting \'undefined\' on
var isGPSSupported =
Would it not suffice to have the watchPosition(success) in the main-thread postMessage() the new location to your webWorker?