せっかくWordpressの有償テンプレートを買ったのに、全然GoogleMapsが動かなかったので悩んでいました。ChromeのDevツールを見ると、
Geocoding Service: This API project is not authorized to use this API. For more information on authentication and Google Maps JavaScript API services please see: https://developers.google.com/maps/documentation/javascript/get-api-key
_.xd @ js?key=xxxxxxxxxxxxxxxxxxxxxxxxxxx&ver=5.2.4:60
(index):185 gmaps err:REQUEST_DENIED
と表示されていました。
GoogleAPIsでGoogleMapsAPIは複数使えるようにしていたので、どうしたものかと思っていたら、"Geocoding"がキーワードになっているとは梅雨知らず。
実はGeocoding APIを有効にしないといけなかったのでした。
API一覧から検索して有効にしてみてください。
後、APIで制限をしていたら、必ずGeocodingAPIを制限内容に加えてください。