Voting starts in March for the Drupal Association Board election.
It would be nice if we could configure other options on the formatter such as the scrollWheelZoom. I will work on a patch.
Here is the patch. It just adds a checkbox to disable the scrollWheelZoom.
Tested and worked great but re-rolled to reverse the logic of the setting.
Removed a dpm() statement.
Patch in #3 worked for me.
I created a new patch which adds the ability to disable the scrollWheelZoom in views as well.
Trying the patch in #5 failed
patching file leaflet_views/leaflet_views_plugin_style.inc
Hunk #1 FAILED at 33.
Hunk #2 FAILED at 154.
Hunk #3 FAILED at 365.
Has someone else applied the patch in #5 successfully?
the patch at: https://drupal.org/node/2089209 gives the ability to set all map options, including scrollWhelZoom.
Marking duplicate: if we are going to add this option we'll add the rest of the config options as in #2089209. Thanks for the patch though!
I am opening this issue back up because of https://drupal.org/comment/8182295#comment-8182295. I have re-created the patch to apply against the latest dev version.
The functionality in #9 works as advertised. I did run into the issue identified in #2185767: Leaflet field formatter errors when trying to edit geocoded field in view or panel which is a separate issue and had to comment out #empty_options so I could test the patch.
I've modified only the #description to standardize it with the language used in the Leaflet API regarding the scroll wheel.
Patch in #10 works for me. I also had to comment out #empty_options to test leaflet_views
Here is a new version of this patch, applies to latest dev :)
Patch from #12 applied (but not tested yet).
Available now in Leaflet 7.x-1.x-dev and in the next official release, when ready.
Issue #2002976 by briand44, rbp, bneil, yannickoo: Ability to disable...
Consider this fixed until proven otherwise. Please someone test, as I don't have the time right now.
Sorry for re-opening but I found 2 issues in the current implementation:
I have uploaded a new patch :)
are you sure ?
don't you mean scrollWheelZoom ?
Re #19: Thanks -- will apply soon.
Issue #2002976 by briand44, yannickoo, rbp, bneil: Ability to disable...
Considering this fixed now.
Reopen if not.
Available now in 7.x-1.x-dev or 7.x-1.2 when released.
Automatically closed - issue fixed for 2 weeks with no activity.
Drupal is a registered trademark of Dries Buytaert.