Geocoder isn't auto-generate latitude and longitude coordinates
I've installed CMSB 3.53, downloaded the latest geocoder plugin, and followed all the directions to install. I set up a Google API credentials and applied the API Key to geocoder... but geocoder just wont auto-generate latitude and longitude coordinates on my websites.
I have a CC on file with Google APIs, I also have the following enabled:
- Maps Embed API - Make places easily discoverable with interactive Google Maps.
- Maps Static API - Simple, embeddable map image with minimal code.
- Geocoding API - Convert between addresses and geographic coordinates.
I double checked my field type, geocoder to ensure the field names match... and these all check out fine.
Has anyopne else had this issue and/or have suggestions on how to get geocoder to auto-generate latitude and longitude coordinates?
I've tacked down this issue I am having to having something to do with adding API Key Restrictions.
Google list the following as a suggestion on how to restrict the API to your website:
Any subdomain or path URLs in a single domain, using wildcard asterisks (*): *.example.com/*
This wasn't working however, and my website would not auto generate the latitude and longitude when I saved my record.
I tried a bunch of scenarios such as those listed below:
The Geocoder readme.txt file says to use:
I tried that also, but still wasn't able to get Geocoder to work.
The only way I can get Geocoder to work is by removing all restrictions on the "Application Restrictions" and "API Restrictions". Once I do this, it works fine, but I'd like to add restrictions to protect the API Key from being jacked.
Anyone have any suggestions on what to try, in order to add restrictions?