Disable Mouse Scroll Zoom on Scatter Map
Purpose/Benefits:
When mouse scrolling on a Sisense dashboard that has many widgets - a Scatter Map can inadvertently be affected. This script will help keep the map in place.
Widget Code:
widget.on("beforeviewloaded", function (widget, args){
var map = args.options.map;
map.scrollWheelZoom.disable();
});
Please sign in to leave a comment.
Comments
4 comments