Google Maps Api Key

Mitch du Clou asked on May 18, 2016 11:25

Hi,

When i use the Google Map webpart i get the following error: Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys

Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required

I cannot find where to enter the registerd API key. The same problem happens with the bing maps.

Where can i register my Google Api Key in Kentico?

Mitch

Recent Answers


Laura Frese answered on May 18, 2016 17:35

Which API version of google maps are you using. In the documentation it says you should use version 3 of the google maps API

0 votesVote for this answer Mark as a Correct answer

Mitch du Clou answered on May 19, 2016 09:13

I'm using Kentico 9 with Google Maps V3.

I've registerd a V3 Api key in my Google Developer Console but i can't find the setting in Kentico where i can provide this key.

0 votesVote for this answer Mark as a Correct answer

Jainik Patel answered on April 4, 2017 08:08

I am also facing same problem. I don't know where to put Google API key in kentico admin.

I have searched every where for the same but could't find it.

0 votesVote for this answer Mark as a Correct answer

Dennis Hulsmans answered on February 22, 2018 13:39 (last edited on March 24, 2018 12:16)

Hi

I know it's an older post but no valid answer has been made yet.

I guess you'll have to change your webpart as described in https://devnet.kentico.com/articles/google-maps-api-key

You could also create a custom settings module, and put the api key in the settings module. You can then get your api key via macro. For example: {%Settings.GMapsApiKey%}

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.