Direction - Status

Hi there

Is it possible to retrieve the DirectionResponse-Status ie OK, NOT FOUND,INVALID_REQUEST etc

Id like to check that a Direction Request has processed OK, and if not show an error message to the user eg if ZERO_RESULTS show message 'Unable to find routes between the locations AAA and BBB'

Many thanks



Unfortunately it's currently not supported to retrieve the response status of a GetDirections call.
However this is a good suggestion and we'll consider adding this feature in a future version.

As an alternative you can manually check the contents of the Directions property to determine if the request was processed OK or not.