Map problem

This topic contains 9 replies, has 2 voices, and was last updated by  Alex Rollin 6 years, 7 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #443319

    James Dyble
    Free User
    Post count: 135

    When searching the directory and not specifying a location it shows all listings. Which is good. However, the map shows the entire world and this looks messy. I would like the map to zoom into London city centre as a default when no location is specified. Can you please advise how I can do this?

    #443324

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    On the search page, the map will always show all the listings shown on the search results, by design, and there isn’t a way to change it except to use the features of GeoDirectory to hide categories or CPTs from the map. These settings are at:

    GeoDirectory – Design – Map

    You can also manually adjust the zoom on that Search Map widget but we recommend leaving it on autozoom.

    #443326

    James Dyble
    Free User
    Post count: 135

    Thank you for the reply. I like that it lists them all but the map is too far zoomed out. It is showing the entire world. I would like the map to auto zoom to london and then the user can zoom out if they wish. Can I set the map to show London?

    #443334

    Alex Rollin
    Moderator
    Post count: 27815

    The search map (and all maps) respond to the listings on page. The map is automatically centered based on the listings on the page.

    If the shortcode you use only calls up listings in London, then the map would center there.

    #443336

    James Dyble
    Free User
    Post count: 135

    Thank you but the listings are all over the world. Is there a way I can set the map to just show London?

    #443337

    James Dyble
    Free User
    Post count: 135

    Just shown london when no location is specified.

    #443343

    James Dyble
    Free User
    Post count: 135

    ?????

    #443344

    James Dyble
    Free User
    Post count: 135

    I have attached the problem, even if it zooms in more so the grey space goes that would be okay,

    #443347

    James Dyble
    Free User
    Post count: 135

    ??????

    #443350

    Alex Rollin
    Moderator
    Post count: 27815

    If you want the map to only show London then the site should only have listings in London because the map will always center on the ‘center’ of the listings shown on the page.

    If the site’s default location is set to London there are options to redirect users from the directory home page to the default location page, these settings are under:

    GeoDirectory – Advanced Search – REDIRECT SETTINGS ON FIRST TIME LOAD

    The Supreme theme’s map is set in code, and zoom must be adjusted inside the theme files. See “Change Supreme Directory Listing Page Map Properties” on this page:
    https://wpgeodirectory.com/docs/faqs/what-are-some-common-changes-for-the-listings-page-for-the-supreme-directory-theme/

    You could change the zoom that way.

Viewing 10 posts - 1 through 10 (of 10 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