openstreetmap leaflet scroll zoom

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 3 reply threads
  • Author
    Posts
    • #128191
      aemr45
      Participant

      Hi,

      Is there a way to stop zooming when the mouse pointer is on the map and the user is scrolling up or down.

      Like in google maps you need to clic on ctrl in order to use the scroll to zoom in or out.

      Thanks

    • #128292
      Auhouse.ru
      Participant

      +

    • #129046
      WCFM Forum
      Member

      Hi,

      Please add this line to your site for the purpose-

      add_filter( 'wcfmmp_is_allow_map_scroll_zoom', '__return_false' );

      Add custom code(s) to your child theme’s functions.php
      In case you do not have child theme then add those using this plugin – https://wordpress.org/plugins/code-snippets/

      Thank You

    • #129082
      Auhouse.ru
      Participant

      On the store page, this code does not work. And my suppliers do not show on the map

Viewing 3 reply threads
  • You must be logged in to reply to this topic.