How can i create a current location to auto refresh

How can i create a current location to auto refresh every after like 3 seconds, this is my code for showing current location, how do i make it to auto update every after like 3 seconds

//method to get user Position
getUserPosition(){
this.options = {
enableHighAccuracy : true
};

this.geolocation.getCurrentPosition(this.options).then((pos : Geoposition) => {

    this.currentPos = pos;
    console.log(pos);
    this.addMap(pos.coords.latitude,pos.coords.longitude);

},(err : PositionError)=>{
    console.log("error : " + err.message);
});

}

//call user position when entering viewport
ionViewDidEnter(){
this.getUserPosition();
}

//create the map
addMap(lat,long){

let latLng = new google.maps.LatLng(lat, long);

let mapOptions = {
center: latLng,
zoom: 15,
mapTypeId: google.maps.MapTypeId.ROADMAP
}

this.map = new google.maps.Map(this.mapElement.nativeElement, mapOptions);
this.addMarker();

}

//adding marker position
addMarker(){

let marker = new google.maps.Marker({
map: this.map,
animation: google.maps.Animation.DROP,
position: this.map.getCenter()
});

let content = "<p>This is your current position !</p>";
let infoWindow = new google.maps.InfoWindow({
content: content
});

google.maps.event.addListener(marker, 'click', () => {
infoWindow.open(this.map, marker);
});

}

You can use geolocation watchPosition

check the plugin Ionic Native - Geolocation

thanks i will try that out,
Could you be knowing how i can embeed a functionality like that of google maps that shows roads with different traffics when travelling to a particular place with directions service which i have already impemeneted by cant find a way of shwing the roads with the least traffic

Sorry, i can’t help you with that as i haven’t tried that before

thanks for the reply, though