You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See the isInBoundingBox function in bustime.js for what needs to be implemented. The bounding box is created in the function just above it. Once they are done both will need to be tested. I wrote some code in JavaScript a while back which worked with Google Maps for bounding box but that code may not be on GitHub. I have to look for it.
Using the bounding box will cut down on using the haversine function which can be a bit processor intensive when there are more coordinates to process, especially for a city like Chicago. It appears to run very quickly for Milwaukee.
See the
isInBoundingBox
function inbustime.js
for what needs to be implemented. The bounding box is created in the function just above it. Once they are done both will need to be tested. I wrote some code in JavaScript a while back which worked with Google Maps for bounding box but that code may not be on GitHub. I have to look for it.Using the bounding box will cut down on using the haversine function which can be a bit processor intensive when there are more coordinates to process, especially for a city like Chicago. It appears to run very quickly for Milwaukee.
https://github.com/BusTicker/BusTickr-Server/pull/12/files#diff-ee81bfd40e82aba1581a82ad8aa983caR230
@tdhsmith
The text was updated successfully, but these errors were encountered: