On 1 December 2011 13:11, xavierite <[email protected]> wrote:
> How will i come to know or what logic is required to know direction of
> the point.
> whether the point is entering the polygon or leaving it. basically i
> need to give an alert
> when the point is leaving the polygon and not vice versa.

Point-in-polygon analysis will tell you whether the point is within
the polygon or not. Do that every time the point changes its position.
When the analysis finds the point is outside the polygon, it's moved
outside in the time since the last analysis.

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