jVectorMap 鼠标滚轮放大的步数太少

jVectorMap mousewheel zooms in with too few steps

在他们的主要示例中使用鼠标滚轮缩放 http://jvectormap.com/

我尝试更改配置中的 zoomScale 属性,但这似乎只影响缩放按钮而不是鼠标滚轮缩放。

我更喜欢鼠标滚轮以与缩放按钮相同的步长进行缩放。

我在 https://github.com/tlvince/bower-jvectormap 找到了一个 jvectormap 的 bower 包,它被标记为版本 1.2.2,鼠标滚轮按预期工作。

他们在网站上的所有演示中仍然存在问题http://jvectormap.com/ and also in the latest downloadable code (2.0.1) in their official git repository https://github.com/bjornd/jvectormap

如果仍然需要,请在其他主题中回答您的问题 JVectorMap Scroll Speed and Full screen Issue

怀疑你是否可以放置相同的步骤,但至少你可以尝试找到与按钮行为相似的值。