Geolocation Marker and Destination Google Maps


#1

hello ionic world. i have this two functions :
* the first is for Geolocation

	let locationOptions = {timeout: 10000, enableHighAccuracy: true};
		myPosition(){
		navigator.geolocation.getCurrentPosition(

				(position) => {

					let options = {
					  center: new google.maps.LatLng(position.coords.latitude, position.coords.longitude),
					  zoom: 16,
					  mapTypeId: google.maps.MapTypeId.ROADMAP
					}

					this.map = new google.maps.Map(document.getElementById("map_canvas"), options);
				},

				(error) => {
					console.log(error);
				}, locationOptions

			);

		});
		}
			
	* the second is for another place : 
		office(){
		  var minZoomLevel = 12;

	    this.map = new google.maps.Map(document.getElementById('map_canvas'), {
	        zoom: minZoomLevel,
	        center: new google.maps.LatLng(38.50, -90.50),
	        mapTypeId: google.maps.MapTypeId.ROADMAP
	    });
		}

My question is this : How can i make the direction for this two places with google maps.
Sorry for my english and thanks. :slight_smile: