Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resizing / reshaping custom outline areas is twitchy #68

Open
mojodna opened this issue Apr 12, 2017 · 3 comments
Open

Resizing / reshaping custom outline areas is twitchy #68

mojodna opened this issue Apr 12, 2017 · 3 comments

Comments

@mojodna
Copy link

mojodna commented Apr 12, 2017

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

@tyrasd
Copy link
Collaborator

tyrasd commented Apr 13, 2017

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.

@PaulUithol
Copy link

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

@jjiglesiasg
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants