Map item fstrange flash

This topic contains 9 replies, has 2 voices, and was last updated by  Alessandro Rossignoli 6 years, 5 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #448252

    Alessandro Rossignoli
    Expired Member
    Post count: 24

    Hi, I’m facing with a little problem on the maps when items are grouped on the maps.

    Check the gif attached, and if you can check or get me in the right direction to solce, it would really much appreciate!

    Thanks,

    Alessandro

    #448256

    Guust
    Moderator
    Post count: 29970

    I suggest you install the Marker Cluster addon: https://wpgeodirectory.com/downloads/marker-cluster/

    Thanks

    #448261

    Alessandro Rossignoli
    Expired Member
    Post count: 24

    it was already installed and activated but for some strange reasons it didn’t work. Now I’ve reinstalled it and it’s perfect!!

    Thanks very much Guust and have a good day!

    Alessandro

    #448262

    Guust
    Moderator
    Post count: 29970

    Good to hear 🙂
    Maybe you just needed to select the correct map in the cluster settings. Does not matter anymore 🙂

    #448263

    Alessandro Rossignoli
    Expired Member
    Post count: 24

    Only one thing, it can work with the maps in the listing? because it cant add marker cluster on listing page’s map

    #448264

    Guust
    Moderator
    Post count: 29970

    Have a look at the widget settings, you will find “Enable marker cluster?”
    Or if you are using a shortcode, have a look at https://wpgeodirectory.com/docs/core-shortcodes/#listing

    Thanks

    #448265

    Alessandro Rossignoli
    Expired Member
    Post count: 24

    I dont have any widget on the search page, no on the left, top, right or bottom. Everything empty but on the search page still load the map, without marker cluster…

    https://www.cercaeaffitta.it/?geodir_search=1&stype=gd_annunci_offerta&s=+&sgeodir_price=&sgd_annunci_offertacategory%5B%5D=&snear=&sgeo_lat=&sgeo_lon=

    #448267

    Alessandro Rossignoli
    Expired Member
    Post count: 24

    Ok I’ve found where to enable marker_cluster by default, in geodirectory_shortcodes.php found this and changed from false to true and marker-cluster now work on every page.

    $defaults = array(
    ‘width’ => ‘960’,
    ‘height’ => ‘425’,
    ‘maptype’ => ‘ROADMAP’,
    ‘zoom’ => ’13’,
    ‘autozoom’ => ”,
    ‘child_collapse’ => ‘0’,
    ‘scrollwheel’ => ‘0’,
    ‘marker_cluster’ => true,
    ‘latitude’ => ”,
    ‘longitude’ => ”
    );

    #448271

    Guust
    Moderator
    Post count: 29970

    Ah I see, you are using Supreme, it is a bit different for that theme.
    Your file change will be lost with the next update. You are better to do it this way:
    https://wpgeodirectory.com/support/topic/gd-gmap-listing-page-settings/#post-409635

    Thanks

    #448272

    Alessandro Rossignoli
    Expired Member
    Post count: 24

    ok done it that way, thanks a lot Guust and have a nice sunday!

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