> if (!pts) point = poly.getVertex(Math.floor(poly.getVertexCount()/2)); > will tell it to open the infowindow halfway along
It'll get a vertex somewhere along the line, might be more to one end than the other depending on the line, but yes that seems a good enough simple solution for most real street routes -- 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.
