OpenTripPlanner-for-Android
OpenTripPlanner-for-Android copied to clipboard
Support "massive" bike rental
Hi!
I have been trying the available servers and their capabilities and Paris server makes the app unusable if zoom is high because of the huge amount of markers displayed. To cluster the markers should solve the problem https://developers.google.com/maps/documentation/android-api/utility/marker-clustering.
+1
From a look at the OTP bike rental API docs: http://dev.opentripplanner.org/apidoc/0.15.0/resource_BikeRental.html
... it appears that the API endpoint supports a geographic bounds as a parameter. But, from a quick look at our bike rental loader code: https://github.com/CUTR-at-USF/OpenTripPlanner-for-Android/blob/master/opentripplanner-android/src/main/java/edu/usf/cutr/opentripplanner/android/tasks/BikeRentalLoad.java#L69
...it doesn't look like we're passing those parameters. So this should help us cut down on the number of stations returned to just those in the geographic bounds of the visible portion of the map.