OpenTripPlanner-for-Android icon indicating copy to clipboard operation
OpenTripPlanner-for-Android copied to clipboard

Support "massive" bike rental

Open vreixo opened this issue 8 years ago • 2 comments

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.

vreixo avatar Mar 12 '16 23:03 vreixo

+1

barbeau avatar Mar 13 '16 01:03 barbeau

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.

barbeau avatar May 06 '16 15:05 barbeau