Open niuage opened 12 years ago
@scroll = opts[:scroll] || true
if opts[:scroll] is false, then @scroll will be true, not what we want ;) Should default to false.
Also, the option you should pass to init the map is "scrollwheel", and not "scrollWheel".
@scroll = opts[:scroll] || true
if opts[:scroll] is false, then @scroll will be true, not what we want ;) Should default to false.
Also, the option you should pass to init the map is "scrollwheel", and not "scrollWheel".