First time asking on stackoverflow, so be patient if I break some rule, tried my best to solve by myself searching for a solution, but had no luck.
I used a tool to
in google latest update you should add your key for each script for googleapis.com (otherwise google map will not working)i.e
and if you want to use other features like places,geoloaction then add below line also
Note:for places,geolocation and other features you should enable it from google console for more detail about features enabling check this out
https://stackoverflow.com/a/41079098/6295712