Closed yoan-krumov closed 8 years ago
Hi @YoanX1,
That feature is not available in the control, but is a simple one to implement. I would rather do something like:
@(Html.GoogleMap()
.Name("map")
.ScrollWheel(false))
to keep discoverability of this control consistent with the google map api (the ScrollWheel value should be true by default)
So if you feel confident enough with this one I'll be willing to review and accept your pull request :)
Thanks for your feed back.
Hi,
I do not have a pull request, but I agree about the name of the property. It should be consistent with the official api.
Hi @YoanX1,
Just pushed a change that should resolve your request.
If you need to see the feature live, go here and change the Scroll Wheel
value to see this in action.
Also take a look to the following link, that could be helpful if you need to use this feature right away.
Hi, trying this now and still doesn't work .. Im using 0.8.0
Hi,
is there a functionality for disabling the zoom performed wtih the mouse wheel? If not, you can consider this as a feature request :)
p.s. I think that DisableScrollWhellZoom() or ScrollWheel=False are good options.