On Feb 11, 7:19 pm, Diogo Outerelo da Silva <[email protected]>
wrote:
> Hello,
> I have some days trying to make a "bound" to my polyline route but i still
> having problem. First i tried to use the route boxer like the google example
> (http://gmaps-samples-v3.googlecode.com/svn/trunk/routeboxer/routeboxe...)
> demo gallery, but with a large route and a great precision its make the
> browser stop, because make so many latlongbounds. So i was searching for
> another solution and i found from Marcelo Montagna here 
> (http://gis5.com/pois_along_route/gm_pois_along_route.php), but its protected
> to copy. Then i start make my own code...
> There is the step that i think to my code:
>
> 1 - Make a circle around each point(lat, long) - like 12 points around each
> the latlong
> 2 - Get the most external point for each 2 latlong circle and make a polygon
> (fecho) - total = (points - 1) poligons
> 3 - union the poligons to make a unique polygon and apply a color and
> opacity
>
> the problem is that i can`t find a algorithm to "union" this polygons.
> Someone know a algorithm that i can use or a API for google maps to make it
> with the polygons?

You could do a convex hull of all the vertices.

 -- Larry
>
> I can`t make another polyline with biggest stroke weight because i need the
> "bound" points to search for POI`s.
>
> Thx in advance
> --
> ,
> Diogo
>
> --

-- 
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.

Reply via email to