Geolocation timeout problem


#1

Hi. I am using ionic native geolocation plugin but i am facing an issue. i want to get the lat long after some time using this plugin but it shows the lat long only first time when loading the page timeout option is not working. I am using the following code. Please help me , Thanks in advance.

Code
var options = {
timeout: 5000,
maximumAge: 0,
enableHighAccuracy: true
};
this.geolocation.getCurrentPosition(options).then((resp) => {
console.log(resp);
}, (error) => {
console.log(error);
}).catch((err) => {
});


#2

Is there any one to help me to resolve this issue