Supreme theme map full height

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

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

Open Support Ticket
  • Author
    Posts
  • #451845

    Geo User
    Free User
    Post count: 3

    Hi There,

    I am using supreme on the website, i need help to make map on this page to be full height.
    https://www.circulareconomyclub.com/events/

    Thanks

    #451853

    Kor
    Moderator
    Post count: 16516

    Hi Geo,

    Thanks for your reply. The map on the page is already full height. But it’s zooming out so that you could see all the listings on the map. Could you share your WP admin access in private reply so that could check your GD setup?

    Thank!

    #451908

    Geo User
    Free User
    Post count: 3
    This reply has been marked as private.
    #452015

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    you can customize the theme map by following the instructions on this page for changing the properties of the map
    https://wpgeodirectory.com/docs/faqs/what-are-some-common-changes-for-the-listings-page-for-the-supreme-directory-theme/

    For further support please sign in with the account used to purchase your premium addons or purchase a membership here: https://wpgeodirectory.com/downloads/membership/

    #452134

    Geo User
    Free User
    Post count: 3

    Hi Alex,

    Thanks a lot for your reply, I have already tried this code
    function _gd_custom_supreme_listing_map_args( $args = array() ) {
    $args[‘maptype’] = ‘TERRAIN’; // HYBRID, ROADMAP, SATELLITE, TERRAIN
    $args[‘zoom’] = 14; // number between 1 to 19
    $args[‘autozoom’] = true; // true or false
    $args[‘scrollwheel’] = true; // true or false
    $args[‘sticky’] = true; // true or false
    $args[‘enable_marker_cluster’] = true; // true or false

    return $args;
    }
    add_filter (‘geodir_map_options_gd_listing_map’, ‘_gd_custom_supreme_listing_map_args’, 10, 1 );

    but its not working 🙁

    Thanks
    Bipin

    #452146

    Alex Rollin
    Moderator
    Post count: 27815

    For further support please sign in with the account used to purchase your premium addons or purchase a membership here: https://wpgeodirectory.com/downloads/membership/

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