bjornd / jvectormap

Home Page:jvectormap.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mousewheel zoom throws error, but zoom buttons work

PaulMcGuinness opened this issue · comments

I'm using 2.0.3 (although this happens on 2.0.2 as well)

If you use the buttons to zoom, all ok. If you use the mouse wheel:

Error: attribute transform: Expected number, "scale(NaN) translate(N…".
jvm.SVGCanvasElement.applyTransformParams @ jquery-jvectormap-2.0.3.min.js:1
applyTransform @ jquery-jvectormap-2.0.3.min.js:2
setScale @ jquery-jvectormap-2.0.3.min.js:2
(anonymous) @ jquery-jvectormap-2.0.3.min.js:2
dispatch @ jquery-1.8.2.js:3063
e @ jquery.flot.navigate.min.js:7

I presume that it is because I am using flot.js as well, and it's handling of the mouse wheel is affecting this?