Google Maps not working for Events

This topic contains 17 replies, has 3 voices, and was last updated by  Alex Rollin 5 years, 3 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #464575

    Matt DeWild
    Expired Member
    Post count: 37

    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.

    #464584

    Kor
    Moderator
    Post count: 16516

    Hi 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!

    #464633

    Matt DeWild
    Expired Member
    Post count: 37
    This reply has been marked as private.
    #464636

    Kor
    Moderator
    Post count: 16516
    This reply has been marked as private.
    #464642

    Matt DeWild
    Expired Member
    Post count: 37

    The 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.

    #464661

    Alex Rollin
    Moderator
    Post count: 27815

    Both 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

    #464764

    Matt DeWild
    Expired Member
    Post count: 37

    It 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????

    #464792

    Alex Rollin
    Moderator
    Post count: 27815

    You need to add the Geocoding API, not the Geolocation API

    https://developers.google.com/maps/documentation/geocoding/intro

    #464797

    Matt DeWild
    Expired Member
    Post count: 37

    Sorry,

    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 Details

    #464807

    Alex Rollin
    Moderator
    Post count: 27815

    It 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.

    #464832

    Matt DeWild
    Expired Member
    Post count: 37

    Actually, 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.

    #464850

    Kor
    Moderator
    Post count: 16516
    This reply has been marked as private.
    #464948

    Matt DeWild
    Expired Member
    Post count: 37

    I 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?

    #465002

    Kor
    Moderator
    Post count: 16516
    This reply has been marked as private.
    #465055

    Matt DeWild
    Expired Member
    Post count: 37

    Thank 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.

Viewing 15 posts - 1 through 15 (of 18 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket