Is there a way to disable map zooming when the mouse is scrolled?
Thanks!
Sean
1 Answer, 1 is accepted
0
Iliana Dyankova
Telerik team
answered on 07 Feb 2014, 11:09 AM
Hello Sean,
In order to achieve this you could prevent the zoomStart event:
$("#map").kendoMap({
//....
zoomStart: onZoomStart
});
function onZoomStart(e) {
e.preventDefault();
}
Another option is to set equal values to the minZoom and maxZoom options:
$("#map").kendoMap({
//....
minZoom: 2,
maxZoom: 2
});
Regards,
Iliana Nikolova
Telerik
Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).