Forum
Google Maps API
Having difficulties enabling Google Maps API on a live site (Google's documentation is convoluted to say the least!).
Do I also have to add the API key to Perch here perch/config/config.php
? I'm reading https://docs.grabaperch.com/templates/field-types/map/
And what is the second part 'abc123'
?
define('PERCH_GMAPS_API_KEY', 'abc123');
that is where you put your API key.
Of course! Thanks. Map still not working though.
Should this key feed back into the script below? I see that CMSMap.key is blank
CMSMap.key=''
.... I'm getting...
Have you saved your content since adding the API key to your config?
Boom! Working now. Thanks Drew/Rachel