Maps Disappeared

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

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

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #44689

    stephanie
    Expired Member
    Post count: 6

    Hi all:

    I’ve read all the posts on disappearing maps and how to fix them, but either I’m missing something or something’s broken.

    GD is NOT my site home page. When I go to my main GD page, all I see are my listings and a small Google map showing the listing locations. The main map that I used to have at the top of the page is gone. Nothing in my settings seems to control the visibility of the main map.

    A remove and reinstall of CD hasn’t helped, so I suspect something amiss in the settings rather than trashed code in GD. I’m using GD 1.4.9.

    If it would be helpful, I can PM you with credentials to look at the page.

    #44690

    Guust
    Moderator
    Post count: 29970

    Yes, please post your URL and admin details in a private reply and we will have a look for you.
    The map on the location/GD HOme page is put there with the GD Home Gmap widget. But I think you are talking about the Listings page.

    #44694

    stephanie
    Expired Member
    Post count: 6
    This reply has been marked as private.
    #44695

    Guust
    Moderator
    Post count: 29970

    Your directory homepage is at /location
    /places is the Listings (category) page.
    I added the GD>Gmap-Listings widget to the top section of the GD Listings template.
    https://wpgeodirectory.com/docs/core-design/

    Let us know if there is anything else.

    #44696

    stephanie
    Expired Member
    Post count: 6

    So simple. Thank you so much!

    #44697

    Guust
    Moderator
    Post count: 29970

    You’re welcome 🙂

    #44698

    stephanie
    Expired Member
    Post count: 6

    Oh, here’s a curious one. At the same URL, on the /places page (“Directory” menu item), if I click a “Popular category” that has multiple items (e.g. Restaurants) they all appear on an appropriately sized map. But if I click one that has only a single item (e.g. Photography) I get a map of the whole world – twice around – with the single item shown three times. Now that looks like a coding problem.

    Any thoughts? (Besides finding another photographer 🙂 )?

    #44699

    stephanie
    Expired Member
    Post count: 6

    Found a workaround. Set the zoom level to 14 in the map widget, then turn on auto-zoom. For some reason, the auto-zoom code isn’t getting called when there’s only a single item to display.

    #44700

    Guust
    Moderator
    Post count: 29970

    The same template (GD listing) is used for all Custom Post Types (places), its categories and subcategories. And you have found the solution all by yourself 🙂

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
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount