On 3 April 2011 18:33, xelawho <[email protected]> wrote:
> Change this
>>   directions = new GDirections(map, directionsPanel);
>> into
>>   directions = new GDirections(null, directionsPanel);
>>
>> and you can remove the map div and the code which sets that up.
>
> just out of curiosity, doesn't that contravene this part of the
> Directions ToS:
>
> "The Directions API may only be used in conjunction with displaying
> results on a Google map; using Directions data without displaying a
> map for which directions data was requested is prohibited..."
>
> or are we talking about something else?

Yes: we're talking about the Maps API and its GDirections class, not
the Directions API with its XML output which Skippy was using in the
opening post. The Maps API allows GDirections to be used according to
the documentation, and the docs allow either parameter to be null --
although not both (even though that will work).

> but now that I understand that we're talking about just displaying
> text for one route on the page, why not just display the text on the
> page?

Because that would contravene both the Maps and the Directions Terms.
That's storing the Directions data and allowing others access to that
data without using the API, which you have had to use to get the data
in the first place.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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-api?hl=en.

Reply via email to