On Mar 22, 12:09 am, jem <[email protected]> wrote: > var encodedPoints = "k`v{FvdcwNtm@umCvwBqGzh@wXtLmq@XuoB{fBb^lb@qnB{l@} > i@k{@l{B{iAtjDeg@t~B|`Afg@"; > var encodedLevels = "BBBBBBBBBBBBB"; > > encodedPolyline = new GPolyline.fromEncoded({ > color: "#FF0000", > weight: 12, > points: encodedPoints, > levels: encodedLevels, > zoomFactor: 32, > numLevels: 4 > }); > > map.addOverlay(encodedPolyline); > > I have this code.. a polyline looks like a polygon.. There's is a > text box that when input the address and hit enter then the google > map goes to that paticular location, However i want to know if the > input address is within the GPolyline or not and popup says "The > location is not within the polygon" if its not within the polygon.
http://groups.google.com/group/google-maps-api/search?group=google-maps-api&q=point+in+polygon&qt_g=Search+this+group This example may help: http://www.geocodezip.com/collection-map2e.html -- Larry > Please help me > ASAP.. he he > thanks in Advance. -- 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.
