Geodirectory 2 – add map controls on right

This topic contains 5 replies, has 3 voices, and was last updated by  Tilen 4 years, 9 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #497766

    Tilen
    Expired Member
    Post count: 120

    Hello,

    I want to add position of map controls on right. In GD1 I was use filter:

    
    function geodirectory_position_map_control_options( $map_options ) {    
    
        $map_options['zoomControlOptions']['position']          = 'RIGHT_CENTER'; // Zoom control
        $map_options['mapTypeControlOptions']['position']       = 'RIGHT_BOTTOM'; // Map Type control
        $map_options['navigationControlOptions']['position']    = 'RIGHT_BOTTOM'; // Navigation control
        $map_options['streetViewControlOptions']['position']    = 'RIGHT_CENTER'; // Street view control
    
        return $map_options;
    }
    add_filter( 'geodir_map_options_gd_home_map',
    

    Can you help me with filter for Geodirectory 2

    Thanks for help,

    T

    #497801

    Alex Rollin
    Moderator
    Post count: 27815

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #497945

    Kiran
    Moderator
    Post count: 7069

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #497964

    Tilen
    Expired Member
    Post count: 120

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #497966

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #497978

    Tilen
    Expired Member
    Post count: 120
    This reply has been marked as private.
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