Open MarZab opened 7 years ago
When there is a faulty value while in scale mode, there is a faulty fallback:
https://github.com/bjornd/jvectormap/blob/master/src/data-series.js#L115
attrs[cc] = this.elements[cc].element.style.initial[this.params.attribute]; where it should be attrs[cc] = this.elements[cc].element.shape.style.initial[this.params.attribute];
attrs[cc] = this.elements[cc].element.style.initial[this.params.attribute];
attrs[cc] = this.elements[cc].element.shape.style.initial[this.params.attribute];
as jvm.Region does not define style but the shape does.
When there is a faulty value while in scale mode, there is a faulty fallback:
https://github.com/bjornd/jvectormap/blob/master/src/data-series.js#L115
attrs[cc] = this.elements[cc].element.style.initial[this.params.attribute];
where it should beattrs[cc] = this.elements[cc].element.shape.style.initial[this.params.attribute];
as jvm.Region does not define style but the shape does.