Salve !
Chiedo aiuto per favore !
nel codice postato :
http://code.google.com/intl/it/apis/maps/documentation/services.html
nell'ultimo esempio dell'articolo, Route and Steps, voglio mettere il
risultato, la distanza in km, in un campo non editabile per poterlo
prelevare.
Come faccio ?
Grazie
----- Original Message -----
From: <[email protected]>
To: "Google Maps API" <[email protected]>
Sent: Tuesday, May 11, 2010 7:14 PM
Subject: Re: encoded polyline generated from "my maps" google account
On May 11, 9:00 am, choco <[email protected]> wrote:
Hello,
I am doing a tour de france and would like to generate a map for that,
including:
- my planned itinerary
- my truel itinerary (real time)
I'd like the planned one to disappear while I am on the road, showing
the routes I am on.
For the first part, I was thinking about generating a direction
directly from the website (as a normal user), editing some points
etc ... and the transform that to all the necessary points I need to
generated polylines.
Question is: Is there a way to export a map from "my maps" with my
google account to an (encoded) polyline?
I don't know of any tools that will do that for you (that doesn't mean
they don't exist). It shouldn't be too hard to write something that
does that though.
1. load the kml from your "my maps" map into a Google Maps API page
with one of the third party parsers.
2. grab the polyline and use the polyline encoding class from here:
http://facstaff.unca.edu/mcmcclur/GoogleMaps/EncodePolyline/
to create an encoded polyline.
3. save that encoded polyline to your server.
-- Larry
Thanks for reading and helping
--
You received this message because you are subscribed to the Google Groups
"Google Maps API" 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
athttp://groups.google.com/group/google-maps-api?hl=en.
--
You received this message because you are subscribed to the Google Groups
"Google Maps API" 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.
--
You received this message because you are subscribed to the Google Groups "Google
Maps API" 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.