osm-analytics icon indicating copy to clipboard operation
osm-analytics copied to clipboard

Resizing / reshaping custom outline areas is twitchy

Open mojodna opened this issue 8 years ago • 3 comments

Under some circumstances it's impossible to drag the control points, under others they can be dragged, and under yet others dragging is very jerky.

It seems likely that the histogram is trying to update while the outline area is being re-shaped rather than once it settles into a new position.

/cc @cgiovando @PaulUithol

mojodna avatar Apr 12 '17 22:04 mojodna

Yeah, it is indeed a bit buggy. I believe it's caused by the mixed usage of Leaflet+Leaflet.draw together with mapbox-gl-js, which doesn't always work perfectly together.

It should now be possible to refactor out Lealfet by replacing the "drawing" component with https://github.com/mapbox/mapbox-gl-draw.

tyrasd avatar Apr 13 '17 07:04 tyrasd

@krkwesiga @benjaminug can we add this to your first OSMA milestone please?

PaulUithol avatar Apr 21 '17 16:04 PaulUithol

If the Area in square KMS of the Custom area selected could be depicted it will be very Handy

jjiglesiasg avatar Jun 30 '23 01:06 jjiglesiasg