On Feb 16, 4:50 am, "Haberl Norbert" <Norbert.Haberl.iw...@fh- joanneum.at> wrote: > Hello, > > yeas but how? > I get the polyline represented by the tag "overview_polyline" as an > encrypted string.
It is an encoded polyline (not encrypted) >How di I get the points out of this? I can't find any documentation > about this tag in the answer-xml. Both the v2 and v3 APIs have methods for creating polylines from these encoded strings. Search for "encoded polyline": http://groups.google.com/group/google-maps-api/search?group=google-maps-api&q=encoded+polyline&qt_g=Search+this+group or try the documentation: http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GPolyline.fromEncoded -- Larry > > regards > Norbert > > ________________________________ > > Von: [email protected] im Auftrag von Rossko > Gesendet: Mi 16.02.2011 13:08 > An: Google Maps API V2 > Betreff: [Google Maps API v2] Re: Check if specific locations are on a given > direction > > > Is there a possibility to prove if any number of locations (markers) > > are on a specific direction? > > Example: I want to go from A to B. Anywhere I've stored some special > > locations to look for and I want to see if this locations (points) are > > on this direction? If they are they should be shown otherwise not. > > Get the polyline representing your route from A-B. > Check each of your points for the distance from the polyline > Decide for yourself what is close enough - one kilometre, one > nanaometre? - and display the points you want. > > -- > 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 > athttp://groups.google.com/group/google-maps-api?hl=en. > > FH JOANNEUM Gesellschaft mbH > Rechtsform/Legal form: GmbH > Firmenbuchgericht/Court of registry: Landesgericht für ZRS Graz > Firmenbuchnummer/Company registration: FN 125888 f > DVR: 0813559 > UID-Nr.: ATU 42361001 > > winmail.dat > 6KViewDownload -- 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.
