Google Map: No API Key defined for Google Maps

3 replies · opened Mar 13, 2023

SsanoramaMar 13, 2023

After updating to canvas 7 gmap seems to be broken:

module.gmap.js:1 No API Key defined for Google Maps! Please set an API Key in js/functions.js File!

	
    
    

code example page http://localhost:3000/maps.html is also not working (same error)

enter API directly in fuctions.js is fixing the problem but generated source files should not be edited.

SSemicolon WebSTAFFMar 14, 2023

Hello,

Simply find the gmapAPI:"" Code in the js/functions.js File and add your API Key. This file can be edited.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

SsanoramaMar 14, 2023

is this a temporary fix?

SSemicolon WebSTAFFMar 14, 2023

Hello,

No, this is how it is supposed to be. We have made the API Key centralized, so you won't need to add them again and again. We will be updating the Documentations on this shortly and add more documentation along the week.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard