This PR adds support for RouteLeg Closures. Added corresponding type, properties in RouteLeg and DirectionsOptions. Also updated refreshing methods for the new updated info. Refreshing also refined a bit by introducing single refresh method with flexible configuration which should cover possible variations and reduce amount of user code for refreshing routes.
This PR adds support for RouteLeg Closures. Added corresponding type, properties in RouteLeg and DirectionsOptions. Also updated refreshing methods for the new updated info. Refreshing also refined a bit by introducing single refresh method with flexible configuration which should cover possible variations and reduce amount of user code for refreshing routes.