Closed rbellens closed 7 years ago
Not on purpose!
The fix you have is correct. That is make https://github.com/ebidel/geo-location/blob/master/geo-location.html#L37 a member of the element so watch instance has its own state.
Feel free to submit a PR. I'm happy to take that change :)
ok, great. see PR https://github.com/ebidel/geo-location/pull/23
When you add multiple geo-location elements with watch-pos in a single document, only one will effectively watch the position. The watch for the other elements is cleared. Is this on purpose?
Possible fix in this fork: https://github.com/appsup-polymer/geo-location