Google Maps not working for Events
This topic contains 17 replies, has 3 voices, and was last updated by Alex Rollin 6 years, 9 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: Events, google maps
-
AuthorPosts
-
January 22, 2019 at 2:44 am #464575
I have a working API that works as expected for CPT Listing. However, for Events, Google maps will not load. Unable to enter an address and have it autocomplete. Any advice please.
January 22, 2019 at 5:38 am #464584Hi Matt,
Thanks for your post. Kindly share your WP admin access here in private reply and we’ll check on it. In the meantime, please make sure all your GD addons are updated.
Thanks!
January 22, 2019 at 12:27 pm #464633This reply has been marked as private.January 22, 2019 at 12:40 pm #464636This reply has been marked as private.January 22, 2019 at 12:46 pm #464642The API is working correctly for the other CPTs. Just not for Events. Requests are being served from Google MAPS platform when using the other CPTs.
Please advise.
January 22, 2019 at 1:23 pm #464661Both the frontend and backend add forms for events work fine for me.
It would seem you do need to add the GeoCoding service to your maps api project.
https://wpgeodirectory.com/support/topic/geocode-request-denied-update-your-api-project/Let us know how it goes
January 22, 2019 at 6:59 pm #464764It does seem to be an encoding problem. The map from home page pulls up an existing listing ok.
But to add a new one, address won’t autopopulate and will not geolocate. Error Message “This page can’t load google maps correctly”. I added the GeoLocation API on Google console. No change. Now seems to be affecting all CPTs.I get this seems to be an API issue with google maps, but looking for any help or advice on this.
Google Console has billing account enabled.
MAP API Installed.
Geocoding API installed.
Domain is verified.Any other ideas????
January 22, 2019 at 9:51 pm #464792You need to add the Geocoding API, not the Geolocation API
https://developers.google.com/maps/documentation/geocoding/intro
January 22, 2019 at 9:58 pm #464797Sorry,
It was the GeoCoding API that was added.
See google console results below:
Enabled APIs
Select an API to view details. Figures are for the last 30 days.API
Requests Errors Avg latency (ms)
Geocoding API 20 19 38 Details
Maps JavaScript API 146 0 48 DetailsJanuary 22, 2019 at 10:23 pm #464807It looks like you fixed it.
It can take 5 minutes or 6 hours for Google to put services in place, perhaps it was just delay on their part.January 23, 2019 at 1:50 am #464832Actually, both front end and back end still will not GeoCode in the address field.
Displays an existing listing fine, but unable to update an address or add a new listing with Geocoded address.January 23, 2019 at 5:15 am #464850This reply has been marked as private.January 23, 2019 at 12:57 pm #464948I am still getting same message. Rebooted computer, and even tried from a different PC and browser. Getting the same message. I can manually enter an address, but it is not auto completing and still displays an error message. See attached photo. This is true for events as well as other CPTs.
Did you get the address to autopopulate when you began entering address, or did you manually add address, city, state, zip, etc?
January 23, 2019 at 5:15 pm #465002This reply has been marked as private.January 23, 2019 at 7:01 pm #465055Thank you. I see how you are doing it, but you should be able to start entering an address in the address field, it should autopopulate, then click on the correct address from the drop down. However, instead, there is an error message. When customers go to enter an address they will see this error message.
Please advise.
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket