- Posts: 3
- Thank you received: 1
Block Zoom in GoogleMaps Module
- Manuel
- Topic Author
- Offline
- New Member
-
Less
More
9 years 6 months ago #71832
by Manuel
Block Zoom in GoogleMaps Module was created by Manuel
Hi,
is it possible do disable the mouse scroll zoom function?
It is very annoying when you want to scroll down and then you scroll on the map.
Regards,
Manuel
is it possible do disable the mouse scroll zoom function?
It is very annoying when you want to scroll down and then you scroll on the map.
Regards,
Manuel
Please Log in or Create an account to join the conversation.
- James Riley
-
- Offline
- Platinum Member
-
9 years 6 months ago #71840
by James Riley
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Replied by James Riley on topic Block Zoom in GoogleMaps Module
I think that is a Google Maps thing and not specifically EB. You could google for "disable scroll wheel zoom on embedded map" and implement one of the several suggestions that people have.
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Please Log in or Create an account to join the conversation.
- Manuel
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 1
9 years 6 months ago - 9 years 6 months ago #71842
by Manuel
Replied by Manuel on topic Block Zoom in GoogleMaps Module
I have found the option to disable the mouse scroll.
You have do edit the helper.php file located in modules/mod_eb_googlemap
In this file i have write "scrollwheel: false," on Line 144 under "center: myHome,"
After editing the code looks like this:
Now you can only scroll with the buttons on the map.
regards
You have do edit the helper.php file located in modules/mod_eb_googlemap
In this file i have write "scrollwheel: false," on Line 144 under "center: myHome,"
After editing the code looks like this:
Code:
var mapOptions = {
zoom: <?php echo $zoomLevel; ?>,
streetViewControl: true,
mapTypeControl: true,
panControl: true,
mapTypeId: google.maps.MapTypeId.ROADMAP,
center: myHome,
scrollwheel: false,
};
Now you can only scroll with the buttons on the map.
regards
Last edit: 9 years 6 months ago by Manuel.
The following user(s) said Thank You: Tuan Pham Ngoc
Please Log in or Create an account to join the conversation.
- James Riley
-
- Offline
- Platinum Member
-
9 years 6 months ago #71849
by James Riley
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Replied by James Riley on topic Block Zoom in GoogleMaps Module
Good find

James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
9 years 6 months ago #71857
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Block Zoom in GoogleMaps Module
Great. Thanks for sharing Manuel !
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- Roger D
- Offline
- Premium Member
-
Less
More
- Posts: 97
- Thank you received: 5
9 years 6 months ago #71960
by Roger D
Replied by Roger D on topic Block Zoom in GoogleMaps Module
Tuan,
Sounds like a great option for Configuration > Theme "Disable Map Scroll Wheel Zoom" instead of having to override code
Great find, thank you all!
Roger
Sounds like a great option for Configuration > Theme "Disable Map Scroll Wheel Zoom" instead of having to override code

Great find, thank you all!
Roger
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
9 years 6 months ago #71996
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Block Zoom in GoogleMaps Module
OK. I will find sometime to integrate it into the extension. It will be available in the next release (It should be in the download package during this weekend)
Tuan
Tuan
The following user(s) said Thank You: Roger D
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.