Open JacoboDB opened 8 years ago
i had the same issue. i set my image width and height with px; at the end. img src="" width="100px;"
and when i removed it to just a number it fixed the problem and i didnt get NaN in my co-ordinates
I think it's because by adding px it turns the numbers into a string. and the javascript cant do the maths with strings and it becomes a NaN
i had the same issue. i set my image width and height with px; at the end. img src="" width="100px;"
and when i removed it to just a number it fixed the problem and i didnt get NaN in my co-ordinates
I think it's because by adding px it turns the numbers into a string. and the javascript cant do the maths with strings and it becomes a NaN