Im trying to design a navigation app based on Google maps. What I'm looking for is an article or any possible solution to let me be able to, given a polyline, which represents a route on the map, detect all interceptions between the polyline and markers on the map so that I can display for a distinct route how many and what kind of markers this route passes through.
Basically what I lm asking is if there is a way I can detect interceptions between my polyline(which represents a route) and the markers (which represent points of interest on the map, I e), I've thought about using geofences but I can't find a method or a way that would allow me to get interceptions between polyline and geofences created over the markers, any kind of help would be appreciated.