> I was wondering if there was a way to make a polyline snap to a road
> but for the polyline to display offset from the road it is snapped to
> rather than overlapping the road.

I'm sure there is ; but you'd have to know which way you want the line
offset and by how much.  If you don't know, the code can't guess.  You
might do something like examine each step/segment of the polyline,
work out its heading, and calculate an offset perpendicular to the
heading. Corners will be a little tricky ; you could perhaps treat
each poly step as a "new" poly, then join all the little lines back
into one big one by adding the short segments in between the old ones,
that should look reasonably sensible.

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

Reply via email to