If you have not Setup agm map till now then check this post Google map in angular 6 First Install NPM direction module in your project. npm i @agm/core npm i agm-direction Import direction module in app.component.ts : Importing Modules import { BrowserModule } from '@angular/platform-browser' ; import { NgModule } from '@angular/core' ; import { AppComponent } from './app.component' ; import { AgmCoreModule } from '@agm/core' ; // @agm/core import { AgmDirectionModule } from 'agm-direction' ; // agm-direction @ NgModule({ declarations: [ AppComponent ], imports: [ BrowserModule, AgmCoreModule.forRoot({ // @agm/core apiKey: 'your key' , }), AgmDirectionModule, // agm-direction ], providers: [], bootstrap: [AppComponent] }) export class AppModule { } Open the file src/app/app.component.ts and paste the following content: import { Com...
A Full Stack developer who is facing problems in development cycle and here you find solution of errors of those problems.This includes all exception and configuration issues. Solutions which i have written in blog are the one which worked for me after killing my time :) .