Issue
@angular/google-maps version: 14.1.1
I am using angular 14 and implement google map using @angular/google-maps but through error
Cannot find namespace 'google'.
Here is stackblitz link click...
Solution
As mentioned in the doc
The Google Maps JavaScript declaration files (see source files on GitHub) can be installed using NPM from the @types/google.maps package
Try this:
npm i -D @types/google.maps
Answered By - Chellappan வ
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.