Hello, I'm developing an application that works with the JXMapViewer library in the java language, one of the proposals is to find geolocation points (eg, stops / snack bars) in a certain street that the user selects.
Location geolocation information and user location are known information. The problem is to restrict the search to only the street where the user selects using the library. I do not know how to check if the point is on the particular street.
Example geolocation already provided:
GeoPosition ponto = new GeoPosition(ponto.getLatitude(), ponto.getLongitude());
Does anyone who has ever worked with similar or similar problems report an example?