Hi, thanks for the feedback. NOT_FOUND and ZERO_RESULTS are *element* statuses, i.e. they are the potential status of an individual element of the response<http://code.google.com/apis/maps/documentation/javascript/reference.html#DistanceMatrixResponseElement> not of the entire response. In other words, it is possible for elements of the matrix to have the status NOT_FOUND or ZERO_RESULTS, but for the overall response to have the status of OK. You should therefore check the status of the elements of the matrix to determine whether the addresses entered can't be located (NOT_FOUND) or whether there is no route between a pair of addresses (ZERO_RESULTS).
Can you give me an example of a request where the status is the empty string ""? I can't reproduce it. If you plug in "312, France" into the Directions Service, it also treats it as "312 France, 47200 Virazeil, France" - do you believe that this should be treated as an invalid address? -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
