You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently working on a project that involves lineStrings and their associated points. When a user clicks on a lineString, I need to identify the closest point on that lineString to the click event location. However, I'm encountering issues with using a simple search by coordinates approach, as it doesn't accurately determine the closest point when lines intersect or overlap.
Basically, if I could get a lineString, and the specific points that are assigned to it, it would result in a much easier search for the closest point. Any suggestions or guidance would be greatly appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm currently working on a project that involves lineStrings and their associated points. When a user clicks on a lineString, I need to identify the closest point on that lineString to the click event location. However, I'm encountering issues with using a simple search by coordinates approach, as it doesn't accurately determine the closest point when lines intersect or overlap.
Basically, if I could get a lineString, and the specific points that are assigned to it, it would result in a much easier search for the closest point. Any suggestions or guidance would be greatly appreciated.
Thank you for your time and assistance.
Beta Was this translation helpful? Give feedback.
All reactions