PHP-GTK2 Cookbook Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Mouse wheel scroll


#2354
fyrftr72 (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Mouse wheel scroll 5 Years ago Karma: 0  
Hi and thanks for this great plugin! I'm trying to stop my map from scrolling when the mouse is over the map. Is this possible with the plugin and if so how would I implement this? I've tried
Code:
disablescrollWheelZoom=0
and
Code:
scrollWheelZoom=0
and neither has worked. Thanks for your help in advance, Gene
 
  The administrator has disabled public write access.

#2358
kksou (Admin)
Admin
Posts: 1715
graph
User Online Now Click here to see the profile of this user
Re:Mouse wheel scroll 5 Years ago Karma: 27  
Hi Gene,

I believe this is the default action by google. It's controlled by google's code.

You might want to check through their online API document and see if they provide any API to stop the scrolling.

Regards,
/kksou
 
  The administrator has disabled public write access.

#3671
Duggie (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Mouse wheel scroll 4 Years ago Karma: 0  
Hello.
To disable the ScrollWheelMouse add the following command to your module.
Code:
control=disableScrollWheelZoom 
Took me a while but seems to work finally. Duggie
 
  The administrator has disabled public write access.
#3672
Duggie (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Mouse wheel scroll 4 Years ago Karma: 0  
Or another way is simply to add any control like control=GLargeMapControl3D and the defaults for google disappear.
 
  The administrator has disabled public write access.
#6156
Vergily (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Re:Mouse wheel scroll 3 Months ago Karma: 0  
I use joomla3.2 and googleMaps_v3.0.21

How to disable mouse wheel zoom?

That's real problem on gadgets.

control=disableScrollWheelZoom and disablescrollWheelZoom=0 doesn't work.
 
  The administrator has disabled public write access.
#6158
kksou (Admin)
Admin
Posts: 1715
graph
User Online Now Click here to see the profile of this user
Re:Mouse wheel scroll 3 Months ago Karma: 27  
Hi,

With the latest google maps API v3, control=disableScrollWheelZoom will not work.

I'm not sure how it's done in google maps API v3 yet. Will do some research and see if this can be done.

Will try to work on it this weekend and let you know once it's done, ok?

Warm Regards,
/kksou
 
  The administrator has disabled public write access.



Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Blog - Forum - Privacy Policy - Contact Us
Copyright © 2006-2012. kksou.com. All Rights Reserved