The GeoXml class uses almost exactly the same code as in that form to encode polylines and polygons as it loads them... you are already displaying encoded polylines and polygons if you are using GeoXml ;-)... if you want to save them for later it can be done there is a method on the class called. saveJSON it requires a supplemental json.js file to make use of it.
Pil (Trustworthy from experience) wrote: > You can try this one. It's even possible to paste your kml file into > the form. > > http://facstaff.unca.edu/mcmcclur/GoogleMaps/EncodePolyline/encodeForm.html > > > But I doubt that you can define an encoded polyline in your kml file. > KML doesn't know the method GPolyline.fromEncoded(). At least it's not > in the kml documentation. > > > > > > On Feb 17, 1:29 pm, Jorge <[email protected]> wrote: > >> Hi all! >> >> I wanted to test if I can put the coordinates in a KML linestring as >> an encoded polyline. >> >> Does anyone know if it is possible? >> >> I was trying with GeoXML fromhttp://code.google.com/p/geoxml/but I >> can't find whether it supports it. >> >> 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 [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 -~----------~----~----~----~------~----~------~--~---
