You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/09/05 14:01:02 UTC

[GitHub] siege-nnn commented on issue #115: Frequency/Interval feature

siege-nnn commented on issue #115: Frequency/Interval feature
URL: https://github.com/apache/cordova-plugin-geolocation/issues/115#issuecomment-418741913
 
 
   @janpio apologies, thought it was obvious.
   
   watchPosition method is pulling every 1s.
   
   Example:
   
         var options = {
           frequency: 3000, //<--- possible to add this parameter or similar?
           enableHighAccuracy: true
         };
   
         this.watchLocation = this.geolocation.watchPosition(options)
           .subscribe(position => {
   //do something with position
   ....
           })
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org