How to draw traveled route from starting position to current position in IONIC 2


#1

Currently I am using
cordova-plugin-googlemaps
@ionic-native/google-maps

But with this plugin I am able to get only my current location. But I am not able to draw the route from starting position to current position.

this.map.getMyLocation().then(d => {
let ionic: LatLng;
ionic = d.latLng;
});