Prevent map from zooming on marker list click

New home Forums Pro Add-on Prevent map from zooming on marker list click

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #73742
    jakras81
    Participant

    Hi

    I don’t want the map to zoom, when clicking on the marker list.

    How do I stop that?

    Was able to do it with open maps and a solution you posted, but can’t make any solutions work with google maps, which I want to use.

    Can you help?

    #73752
    Steven
    Moderator

    Hi there,

    Thank you so much for getting in touch, we really appreciate your time.

    Could I kindly ask you to navigate to your Custom JS field via Maps -> Settings -> Advanced/settings or Custom Scripts and please paste the following found in the below link:
    – https://gist.github.com/StevenDeBeer/63e95443b0736583101b5f55530f6c78

    Once added, kindly save the settings and confirm if this helps?

    Kindest Regards,
    Steven De Beer

    #73761
    jakras81
    Participant

    Perfect it is not zooming now, but can I make it scroll to the map when clicking on the list which is below my map?

    #73764
    jakras81
    Participant

    Solved it, but maybe you should have a standard method

    #73767
    Steven
    Moderator

    Hi again,

    Thank you so much for getting back to me.

    I am glad this has helped and that you have managed to solve this at your end.

    This is something we will be making simpler down the line in the further development of the plugin.

    Do have a great week ahead,

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.