97 Posts
Anjo
8 years ago
14
Topic

Hi,

New installation joomla 3.6.2 / Seblod 3.9.1 / Address to Coordinates plugin 1.2.2

Created field in admin form, address to coordinates autocomplete, but when creating an article the field shows- Oops! Something went wrong (grayed out). Inspect show js error - Google Maps API error: MissingKeyMapError.

Appreciated any help to solve this issue.

Regards

Anjo

Get a VIP membership
4229 Posts
Kadministrator
8 years ago
0
Level 1

Hi,

you will need to wait for the new version of the plugin that resolves this issue. If you know how to edit files you can add google maps key to the link in the plugin loading google maps script as a workaround (just add &key=YOURKEY - replace YOURKEY with actual key)

97 Posts
Anjo
8 years ago
0
Level 1

Thanks Klas

8 years ago
0
Level 1

Hi Klas

is this issue resolved please ?

thanks

cyril

97 Posts
Anjo
8 years ago
1
Level 1

Hi, It is resolved with Address plugin 1.3.0 You need to add API Key in extensions/plugins.

Thanks

Anjo

8 years ago
0
Level 2

Hi Anjo

I can't find where to enter the Google API key. In which plugin please ?

thanks

cyril

97 Posts
Anjo
8 years ago
0
Level 1

Hi cyril,

Address to Coordinates 1.3.0

Joomla admin/extensions/plugins/Address to Coordinates Field Plug-in for SEBLOD/ and you should see API Key inputbox

8 years ago
1
Level 1

Hi

Even if I enter an APi key I generated from https://console.developers.google.com/apis/credentials in the 1.3.0 address to coordinates plugin the problem remains.

Is there something more we should do?

thanks

cyril

4229 Posts
Kadministrator
8 years ago
0
Level 2

Is the problem you are seeing coming from this field or from maps template? Maps template with the fix will be released in next days.

97 Posts
Anjo
8 years ago
0
Level 1

Hi, It's working for me both on module and list search. I got my API key from https://developers.google.com/maps/documentation/javascript/get-api-key

Thanks

Anjo

8 years ago
0
Level 1

Hi Klas

I get the problem in a standard search form : http://www.dynamique-emploi.fr/espace-candidat/recherche-offres  (in the VILLE field) (also in the site form) and got the key from the same url (https://developers.google.com/maps/documentation/javascript/get-api-key)

I click on the "GET a KEY" button then CREATE A PROJECT (or select one) but then WHICH API should we choose ? there are too many of them !

cyril

97 Posts
Anjo
8 years ago
2
Level 1

Hi cyril

Click on the "GET a KEY" button then choose "My Project" instead of CREATE A PROJECT- popup window reloads with an API Key.

Anjo

4229 Posts
Kadministrator
8 years ago
1
Level 2

Also, are you sure address to coordinates is the place where this error comes from? Can't see any call to maps.googleapis.com/maps/api/js... seems like you are loading some other scripts from google maps

8 years ago
0
Level 3

thanks Klas !!

you found it: the field used another hacked address_to_coordinates field 

thanks again

cyril

8 years ago
0
Level 1

Yes Anjo, this is what I did first

in the right part I get 3 items :

- dashboard

- libraries

- identities (or credentials in english may be) 

in the identities (credentials) item I can create keys with or without restriction. I tried both. I entered the Key  in the 1.3.0 address_to_coordinates but you can see the result on the link I gave

in the Console I get:

Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys util.js:208 Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required js?sensor=false&language=fr&libraries=places:34 Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error

thanks

cyril

Get a VIP membership