Skip to content

A sample repo to explore the cordova geolocation plugin from Apache

Notifications You must be signed in to change notification settings

ninaDeimos/geolocationTesting

Repository files navigation

In app.compontent.ts initialization you can choose between three methods

  • this.startWatchingPosition();

This one uses setInterval and geolocation.getCurrentPosition to retrieve points periodically.

  • this.watchPosition();

This one just uses geolocation.watchPosition

  • this.startWorkaroundWatch();

This one tries to be smart and uses setInterval and watchPosition and after receiving a position from watchPosition it clears the watch

About

A sample repo to explore the cordova geolocation plugin from Apache

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published