Map Problem – "No Records Found"

This topic contains 6 replies, has 3 voices, and was last updated by  psiegel 5 years ago.

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

Open Support Ticket
  • Author
    Posts
  • #515892

    psiegel
    Free User
    Post count: 3

    Hi all!

    I’m trying to setup GD for the first time…

    And now i see the following error in the console: “InvalidValueError: setCenter: not a LatLng or LatLngLiteral with finite coordinates: in property lat: NaN is not an accepted value”

    As already described in #503596

    Is there a approach to fix this?

    Thanks in advance!

    #515895

    Kor
    Moderator
    Post count: 16516

    Hi psiegel,

    Thanks for your post. It could be caused by an incomplete address on a listing. Could you share your Website WP admin access here in private reply so that we could check on it?

    #515902

    psiegel
    Free User
    Post count: 3

    Hi Kor, thanks for the quick reply!

    The affected WP-instance is little bit “special”…

    What i’m wondering is that everything seems to work fine in the backend, but not in the frontend.
    I’ve only got one place with correct address/latitude & longitude and i also see the map with the correct marker in the BE.

    Because of the error message in the console i suspect a simple parse-problem…

    Best regards

    #515913

    Alex Rollin
    Moderator
    Post count: 27815

    Try resetting your default location. Make sure all the fields for the default location are populated.

    Let us know how it goes.

    #516586

    psiegel
    Free User
    Post count: 3

    Resetting the default location has worked – as long as all fields remain empty. As soon as I try to set any location as default, the same error occurs again…
    I also can only reset the default location in the German page tree. Resetting in the English version does’nt work with or without default location. (I have activated the plugin for each language/page tree individually.)
    Do I see it correctly that you can’t specify different countries for locations without Add-ons?

    #516611

    Alex Rollin
    Moderator
    Post count: 27815

    I am not sure what you mean about ‘page trees’. You are running different sites for different languages?

    Every site running GD needs a default location, and all the address fields street/city/region/country/lat/lon need to be populated.

    To add listings in cities other than the default location you will need the location manager addon

    https://wpgeodirectory.com/docs-v2/addons/location-manager/

    #516626

    psiegel
    Free User
    Post count: 3

    Hi Alex, yes it is a strange multisite-setup where each language has its own page tree.

    I can add places and see them on the map in the FE, as long as I don’t set a default location (with all address fields populated).

    I think we’re going to need the location manager addon to meet all the requirements from our customer.
    But first I’ve to make sure that we can use GD together with the broadcast plugin from plainview to distribute the locations for the other languages/pages… that’s already another topic at this point.

    We’ll see if can go on with GD and this configuration…

    Thanks for your help so far!

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

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount