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

Feature info do not work with local shapefile imports for points and lines #1310

Closed
offtherailz opened this issue Nov 30, 2016 · 0 comments
Closed
Assignees
Milestone

Comments

@offtherailz
Copy link
Member

This because it uses inside turf function, that works only with polygons.

@offtherailz offtherailz added this to the R52016 milestone Nov 30, 2016
@offtherailz offtherailz self-assigned this Nov 30, 2016
offtherailz added a commit to offtherailz/MapStore2 that referenced this issue Nov 30, 2016
 - Create a buffer in px around the clicked point and try to intersect the geometry (bufferized) to find out if it is clicked.
 - uses intersect instead of inside
 - Fixes max height for feature info window.
@ghost ghost removed the pending review label Dec 6, 2016
offtherailz added a commit to offtherailz/MapStore2 that referenced this issue Dec 6, 2016
…ns-it#1311)

* Fix geosolutions-it#1310. Improved vector gfi with buffer

 - Create a buffer in px around the clicked point and try to intersect the geometry (bufferized) to find out if it is clicked.
 - uses intersect instead of inside
 - Fixes max height for feature info window.

* defaults and notes

* reduced dependencies from turf

* fixed wrong dependencies
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

1 participant