I am currently developing a map where the shortest route between two points is shown (using different transports). I have noticed that sometimes, roads that are for example closed in the winter, are not taken into consideration.
I have found that I can ignore highways, tolls and ferries using the directionsservice (code below), but I can't for the life of me figure out how/if I can ignore seasonal restrictions. Any help is greatly appreciated.
var request = {
origin: _marker_from,
destination: _marker_to,
travelMode: _mode,
avoidFerries: false,
avoidTolls: false,
//avoidTimedConditions: true <-- I would need something like this
};
_service.route(request, function (response, status) {
//More code here, not relevant for this question
}