On May 3, 6:05 am, TRANSFORM <[email protected]> wrote: > Hello! I have implemented a custom map on my page but for some reason > I cannot disable the scroll wheel zoom functionality. > > Here is the link to a demo page with the > problem:http://www.transform.st/staging/temp_map_issue.html > > PS: Notice I am using "map.disableScrollWheelZoom();" but still the > map is able to be zoomed via scrollwheel.
This is because you are setting the UI after disabling the scroll- wheel. If you use setUI, you set its default properties, one of which controls the scroll-wheel zoom: http://code.google.com/apis/maps/documentation/reference.html#GMapUIOptions.zoom.scrollwheel -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
