Hi, I have polylines (that are really lines, with 2 points only) and I only want to show the ones that are inside the current viewport.
I tried using polyline.getBounds and map.getBounds, then do a intersect of that but polyline.getBounds gives a rectangle that contains the line, which means it's not very perfect. Does anyone know a algorithm to do this check? (maybe if it takes into account that my lines have 2 vertexes only it's easier to do) 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.
