index.html
file and at the end you will see the following script. You need to replace YOUR_GOOGLE_MAPS_KEY with your own KEY.GoogleMapComponent
that you can find in src/app/components/google-map/google-map.component.ts
that will do the magic for you.npm install @types/googlemaps --save-dev
"types": ["googlemaps"]
in tsconfig.app.json
file in compilerOptions.
import {} from 'googlemaps';
from your code.