Working on roller distance application. It has to check whether my current location is between 2 points or not. Did find many suggestions on Google but am unable to find any code or example for the solution.
These are the 2 locations (P1 & P2) and my current location. Aim is to check whether my current location is between P1 & P2 or not within 5 meter radius.