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
We have done the necessary integration work to frame a trip leg within the trip tools map when the associated "map" icon button is clicked next to the associated leg. We are blocked from completing this work though because the frameLeg callback does not include the leg index when invoked inside of the OTP ItineraryBody component (to be more specific it's called inside of PlaceRow) I think this should be a simple matter of wrapping the onClick handler with an arrow function and supplying the legIndex as an argument to frameLeg however, we're open to any other things you may want to do (i.e. passing the entire leg if you think it meets your own needs).
At the very least, we need some reference to the leg that's just been clicked by the user. If I can offer up any more detail or clarification then please let me know. I think this should be fairly straightforward.
@fpurcell since we are so close to wrapping this feature, what are the changes of us getting this request expedited? I think this can be wrapped with a very small update. Let me know. Thanks.
The text was updated successfully, but these errors were encountered:
We have done the necessary integration work to frame a trip leg within the trip tools map when the associated "map" icon button is clicked next to the associated leg. We are blocked from completing this work though because the
frameLeg
callback does not include the leg index when invoked inside of the OTPItineraryBody
component (to be more specific it's called inside ofPlaceRow
) I think this should be a simple matter of wrapping the onClick handler with an arrow function and supplying thelegIndex
as an argument toframeLeg
however, we're open to any other things you may want to do (i.e. passing the entire leg if you think it meets your own needs).At the very least, we need some reference to the leg that's just been clicked by the user. If I can offer up any more detail or clarification then please let me know. I think this should be fairly straightforward.
@fpurcell since we are so close to wrapping this feature, what are the changes of us getting this request expedited? I think this can be wrapped with a very small update. Let me know. Thanks.
The text was updated successfully, but these errors were encountered: