Route traffic by country, state & city using redirects or popups. Learn More ->
June 24, 2020

How does clearPosition() work in the HTML5 geolocation API?

SO

How does clearPosition() work in the HTML5 geolocation API?

GT
Answer
by Geo Targetly

The purpose behind clearPositon() is to cancel the watchPositon call. Once this condition is met the WatchPositon call stops collecting updates about the device's current location.

Tags:
HTML5 geolocation, clear position

"Hands down one of the best marketing tools you are not using"

Chad T. - Web & Digital Media Director

Get started in minutes
No credit card required
Free on-boarding support
Your Privacy

We uses cookies to improve your experience on our site, analyse site traffic and to show you relevant content. By using our website, you consent to our use of cookies. For more information please, see our Privacy Policy

ACCEPT