Check if route contains a specific coordinates or not
问题 I am currently developing an application in which i want to know if a route contains a certain set of lat long coordinates. Here is my code: public class PathActivity extends FragmentActivity implements OnMapReadyCallback, RoutingListener { private GoogleMap mMap; FetchLocation fetchLocation; LatLng start; LatLng end; ProgressDialog pd; List<Polyline> polylines; private static final int[] COLORS = new int[]{R.color.gradient_dark_pink}; FirebaseFirestore firestore; @Override protected void