On 17 January 2013 12:16, Jørn Kinderås <jor...@gmail.com> wrote: > When making a call to DirectionService.route my application is redirected to > http://www.google.com/intl/no_US/help/terms_maps.html. > > The application is a hybrid application, so as a result the entire > application disappears when the GMaps API decides to show the terms of > service. This happens both when using TravelMode.WALKING and DRIVING, but > consistently when using WALKING. This made me think it might be related to > the warning in the response, but it does not seem to be related. > > The response for DirectionService.route is never returned, not any error > messages or any status as it seems that the redirect happens before any > response can be handled. > > Does anybody have an inkling on what might be causing this?
It is, in fact, almost certainly because you do not have a div for the textual directions. The WALKING mode **requires** the textual directions to be displayed because there is a warning message about taking care which you must display. But without a link to your map, it's difficult to be certain of the reason. -- 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 google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.