Hi Rossko,
Thank you for responding to this.
Ok, to be a bit clearer and answer your questions ...
1. Whose server, yours? What is receiving these points, won't it
accept POST?
My server and obviously it will except POST.
However, to load a KML file, I can but pass the URL of the KML
file or (I presume) the page which will generate the file.
This limits the call to GET only.
I have not seen how to create the KmlLayer object by passing it
the content of the KML file.
2. Tell us a bit more about where this itinerary is generated and
held.
The itinerary would obviously be generated on the client system by
the user with a classic Directions Service call.
I would then send the itinerary point coordinates to the server
for the generation of the required KML layer.
My question was rather, does there exist an API for calling the
Directions Service directly from my server, after having obtained the
start, end and eventual waypoints ?
On Jul 30, 12:54 pm, Rossko <[email protected]> wrote:
> Don't really understand the questions
>
> > However, I do not see how I can post to the server the itinerary
> > points (easily > 2000) for the generation of the kml layer other than
> > putting them all into the URL string - which could easily become too
> > long.
>
> Whose server, yours? What is receiveing these points, won't it accept
> POST?
>
> > 1. Is there an API which would permit my server to interrogate Google
> > Maps directly for the itinerary data ?
>
> No, I cannot see how Google Maps could know what your user defined
> itenary might be. Tell us a bit more about where this itenary is
> generated and held.
--
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.