On Feb 1, 1:23 pm, Vish Uma <[email protected]> wrote: > Hi all, > > Can i add multiple paths to a v3 polyline? The methods supported on > Polylines are only 'getPath' and 'setPath' and they don't seem to take an > index. But the documentation reads that the methods 'get the first path' > suggesting that there can be multiple paths. But there doesn't seem to be a > way to get or set them in the Polyline. I would appreciate any > help/suggestions regarding this issue.
getPaths is applicable to polygons. http://code.google.com/apis/maps/documentation/javascript/reference.html#Polygon which has the same description (and where it makes more sense) for getPath. http://code.google.com/apis/maps/documentation/javascript/reference.html#Polyline (my take is no, you can't add multiple paths to a polyline. Use a polygon for that) -- Larry > > Thank You, > Vish -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
