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

Geometry "persistence" when scrolling map view #587

Closed
ian-ross opened this issue Aug 23, 2016 · 1 comment
Closed

Geometry "persistence" when scrolling map view #587

ian-ross opened this issue Aug 23, 2016 · 1 comment

Comments

@ian-ross
Copy link
Contributor

Steps to reproduce the error

Go to the map view of a project with project extent geometry. Zoom the map view until some but not all edges of the project extent are visible on the map. Press and hold the left mouse button and drag the map view to bring more of the project extent into the view.

Actual behavior

"Ghost" edges appear when dragging the map, lined up with where the project geometry was clipped by the viewport at the beginning of the drag action. Releasing the left mouse button to end the drag action causes these "ghost" edges to disappear and the project geometry to be redrawn with edges in the correct positions. (This happens for location boundaries as well, but it's easier to see it with the project extent geometry.)

Expected behavior

There shouldn't be any "ghost" edges. Project extent and location geometry should be rendered correctly during all map drag actions.

This seems to be a Leaflet problem. At least, I can reproduce it on some of the tutorial examples on the Leaflet website. I don't yet know if there's a way to work around it.

@wonderchook
Copy link
Contributor

Closing since it appears to be a leaflet issue. Can review when SMAP is finished.

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

No branches or pull requests

4 participants