Center of Map

This topic contains 3 replies, has 2 voices, and was last updated by  Paolo 9 years, 2 months ago.

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

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #53302

    jkirker
    Lifetime Member
    Post count: 298

    What’s the best way to get the map to center for all active listings on this page?

    http://www.rinktime.com/rinks/ice-skating-rink/

    #53350

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    that is a listing page and you should add the map for listings page and set it to autozoom.

    Currently you are using the home map which is supposed to always show all listings.

    However you also have a JS error on that page:

    ReferenceError: geodir_all_js_msg is not defined
    http://cdn.rinktime.com/wp-content/plugins/bwp-minify/cache/minify-b1-bbpress-editor-8a2c7cdb63a6db448365f8713a7d8537.js
    Line 193

    Seems to be caused by this:

    #53351

    jkirker
    Lifetime Member
    Post count: 298

    Hi Paolo,

    I’ve fixed the js error. I just added the x to the script to nullify that particular code from being executed.

    Same issue though.

    When I disable all caching, I see the same result as well.

    The map displays the same whether on the home page or on the listing page – showing the equator as center.

    The reason I’ve moved it to a listing page is that I’m doing user testing right now. Testing slider vs map vs nothing at top of home page. I’m seeing a higher bounce rates and lower time on site w/ the map and slider so I’m now testing moving it to the listing page.

    Anyhow, there are no more js errors.

    PS I’m using bwminify because I’m familiar with it. It does a great job of identifying the various script and has a nifty interface for moving minified scripts to the header, footer or ignoring them in the event of a conflict. It also works great with MaxCDN and Cloudflare and their edge caching. But again, I don’t see anything new with caching and minification off all together. Open to more suggestions if you’ve got any. And I can set you up with direct access to the db via sql workbench or tools if you would like to poke around.

    #53353

    Paolo
    Site Admin
    Post count: 31206

    Now the sidebar map is loading correcty, before it was not. To get the top map to center for all active listings on this page, just change widgets.

    Remove GD > Gmap -home page from the GD Listings top section and replace it with GD > Gmap – listing page.

    Thanks

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