What you are looking for is called buffering is GIS. From a given
polyline (or point or polygon), you can buffer it a certain distance
and get a polygon. Buffering is not always an easy thing to do though,
especially from scratch such as using parallel lines, which can
produce inside-out artifacts, etc.

However, if you're going back to the (spatial?) database server to do
the comparison, there is likely functionality there to buffer lines
and/or check for overlap of lines with a tolerance. Even if there
isn't, you're still probably better off building something on the
server than trying to do it in JavaScript.


On Nov 26, 10:23 pm, mfemia <[EMAIL PROTECTED]> wrote:
> Bill's function works great when the gap value is set low but when I
> increase it to 500px approx. 250-300m at the highest zoom level, it
> generates polylines that would produce an 'inside out' polygon.
>
> Link:www.uvm.edu/~mfemia/parallel.php
>
> On Nov 26, 7:56 pm, Esa <[EMAIL PROTECTED]> wrote:
>
> > I think you are searching something like Bill's parallel 
> > polylineshttp://wheresthepath.googlepages.com/parallellines.htm
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to