Message from JavaScript discussions

June 2019

— Source:

1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10


Result:
55

— 

Your polyline definition is correct. all over the place means, the drop container sizes up from the polyline line to a square all over the map, makes it impossible to spperate the drop targets

— Got it 👍

— Source:

0.1+0.2


Result:
0.30000000000000004

— Ok :)

— This is truly JS

— Interesting, a scaling issue I guess

— Does it scale with the coordinates, or independently of them?

— I mean... does it seem like the scaling is a factor of the coordinate values

— So like, coord is at 100,150, but scaling places a point at 200, 300

— If so you might be able to fix it with division

— Im not sure about that. what i know is that react dnd is injecting its own synthetic mouse event which is different from the mouseevent of leaflet, and i think there is the problem

Message permanent page