On Dec 7, 5:38 am, foxykav <[EMAIL PROTECTED]> wrote: > Hi, I'm new to google maps API. For my first map I might be over > reaching. I want to map a set a fixed route from a database of > intersections. I have use the geocoder to get the Lat Langs then used > Gdirections to map the route by I really want to get the polyline > vertices and create either an encoded polyline so I'm not using > Gdirections all the time or put the vertices into a KML file and load > the polyline of the route that way. I'm not to sure which would be > better at the moment.
Encoded Polylines are much more efficient. > > Anyway I'm stuck on the javascript to get the vertices and then save > them into either a PHP database or KML file. If anyone could give me a > code snippet of how to achieve either this it would be much > appreciated. This page will do that: http://www.geocodezip.com/example_geo2.asp (see the code for getPolylineXml()) -- Larry > > BTW the map I've put up on the site is not connected to my database so > the data has been hard coded in if that makes any difference to you. > > The map is located > at:http://www.holmesglenoutdoorrecreation.com/test_route.php > > Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to Google-Maps-API@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---