This topic contains 1 reply, has 2 voices, and was last updated by Sofia Moss Sofia Moss 4 years, 11 months ago.

Prevent zoom on clicked marker

  • Hello,

    I want to prevent the map from zooming in when a marker is clicked but still have the info box appear. Before I do too much customization I was wondering if you could provide some guidance on the best way to do this while still allowing the plugin to be updated in the future.

    Thanks,

    Sarah

    Sofia Moss
    StaffSuper ContributorUser Level

    Hi Sarah,

    Thank you for your inquiry, you can refer to this forum post here on how to edit zoom level in the WordPress version.

    You may need to patch the edited file manually when there’s updates if you have your own custom requirements. The off-the-shelf plugin is using Google Maps autofitbound function which zooms automatically depending on number of nearby markers.

    If you’re facing issues in editing the code manually, best to leave it to the developers which you can reach via the contact form here.

    Cheers,
    Sofia

Tagged: 

The topic ‘Prevent zoom on clicked marker’ is closed to new replies.