Google Api is not working (no records were found)

This topic contains 8 replies, has 2 voices, and was last updated by  Alex Rollin 4 years, 4 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #518267

    nhhc
    Free User
    Post count: 4

    Hi there,
    In my case google map api is not working. I’m facing Parsefloat error from geodirectory plugin and Overrides Array.form() error. I’m also facing (no records were found. Please adjust your search criteria and try again.) error in listing page.
    Please suggest me how to solve these errors.

    Thanks.

    Error:

    1. This site overrides Array.from() with an implementation that doesn’t support iterables, which could cause Google Maps JavaScript API v3 to not work correctly.
    2. InvalidValueError: setCenter: not a LatLng or LatLngLiteral with finite coordinates: in property lat: NaN is not an accepted value

    #518286

    Alex Rollin
    Moderator
    Post count: 27815

    Please share a link to the site so we can take a look, along with WP Admin credentials in case we need to check the settings.

    The first error is probably not having an impact.

    Error 2 usually indicates that the default location is missing data and should be reset

    GD – Settings – General – Default Location

    #518403

    nhhc
    Free User
    Post count: 4
    This reply has been marked as private.
    #518404

    nhhc
    Free User
    Post count: 4
    This reply has been marked as private.
    #518529

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #518654

    nhhc
    Free User
    Post count: 4

    Hi Alex,
    Thanks for your immense help!
    Truly appreciated!
    I figured it out when I changed the setting for default location. So right now the maps are working.

    However the Direction API and Geocoding API is not working.
    Any ideas why this could be happening?

    Thanks a ton!
    Regards

    #518670

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #518896

    nhhc
    Free User
    Post count: 4

    Thanks Alex,

    But what’s about direction API and can you tell me please how to fix it. I mean how to authenticate Geocoding API and Which APIs should be enable.

    #518942

    Alex Rollin
    Moderator
    Post count: 27815

    Login to Google cloud console.
    For the GeoCoding key settings are here: https://wpgeodirectory.com/docs-v2/integrations/google/#key-2

    For the main Google Maps key, enable all APIs and add an http referrer restriction after you have verified that the key is working.

Viewing 9 posts - 1 through 9 (of 9 total)

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

Open Support Ticket