Thanks Rossko,
Yes, I should have stated close to the polyline.
The objective is to identify markers within x meters of the polyline.




On May 19, 3:02 am, Rossko <[email protected]> wrote:
> > if there are a number of markers displayed, is it possible to find out
> > if a polyline from Point A to Point B passes through any of the
> > markers.
>
> I would suggest a different approach.  If your line passees within one
> or two millimetres of a marker, would you like that to be considered
> 'close enough'?  Otherwise you are looking for some awfully precise
> locations.
>
> If you work with pixels, what is 'on' or 'off' the line may vary with
> zoom level.  Perhaps that what you want, without knowing why you want
> it.
>
> Or, you can calculate real-world distance of a marker from a line, a
> method is shown 
> herehttp://groups.google.com/group/google-maps-api/browse_thread/thread/2...

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