Commit 4f637ed66e60ceb21d23edc12f1b71bef0a0307b
Exists in
master
and in
1 other branch
Merge branch 'master' into 'master'
Master(efernandez) See merge request !5
Showing
1 changed file
 
Show diff stats
src/js/service.js
| ... | ... | @@ -18,6 +18,9 @@ angular.module('focaSeguimiento') | 
| 18 | 18 | console.info(nuevaPosicion); | 
| 19 | 19 | return $http.post(API_ENDPOINT.URL + '/seguimiento', nuevaPosicion); | 
| 20 | 20 | }); | 
| 21 | + }, | |
| 22 | + obtenerPosicion: function(callback) { | |
| 23 | + cordovaGeolocationService.getCurrentPosition(callback); | |
| 21 | 24 | } | 
| 22 | 25 | }; | 
| 23 | 26 | } |