VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me

Google map, mouse wheel Scroll problem
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Google map, mouse wheel Scroll problem

Google map, mouse wheel Scroll problem 03 Feb 2014 19:10 #3801

Dear Joomfreak group,

Thank you for your great template.
I want to ask only one problem.

How can i disable Google map on mouse-wheel scroll?

When i come over to the map with mouse to scroll down the page,
Google map automatically zooms in and out.

It makes really hard to scroll down the page.

P.S. I only want to disable zoomin and out with mouse. Zooming can be done with left controls.

Thank you for your help

  • Posts:4
  • ozsani
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Google map, mouse wheel Scroll problem 04 Feb 2014 09:47 #3810


  • Posts:502
  • theres no place like joomfreak.com
  • m.freak
  • Platinum Boarder
  • OFFLINE
  • Karma: 0

Re: Google map, mouse wheel Scroll problem 06 Feb 2014 21:08 #3857

Ok, i found this below code (map option properties). "Scrollwheel: false" is the key, i think. Which file and where to paste the code. Help please

options = $.extend({
scrollwheel: false,
navigationControl: false,
mapTypeControl: false,
scaleControl: false,
draggable: false,
mapTypeId: google.maps.MapTypeId.ROADMAP
}, options);
Last Edit: 06 Feb 2014 21:08 by ozsani. Reason: correction

  • Posts:4
  • ozsani
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Google map, mouse wheel Scroll problem 07 Feb 2014 16:42 #3872

I still have this problem. Waiting for your help
Thanks

  • Posts:4
  • ozsani
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Google map, mouse wheel Scroll problem 07 Feb 2014 16:48 #3873

add scrollwheel: False or see api codes: developers.google.com/maps/documentation...reference#MapOptions

  • Posts:502
  • theres no place like joomfreak.com
  • m.freak
  • Platinum Boarder
  • OFFLINE
  • Karma: 0

Re: Google map, mouse wheel Scroll problem 08 Feb 2014 22:27 #3881

thank you,

but where to add that code??

which file and which line? help please

  • Posts:4
  • ozsani
  • Fresh Boarder
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
  • 2
Time to create page: 0.98 seconds
Friday 29 March 2024

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.