Thanks for all answers.

  I need to use these functions to make a Geofencing routines.
 I think that I can make this:
*If I want to verify if a point is inside of a POLYGON:*
Draw a polygon in map and use GPolygon.prototype.Contains functions to
verifiy if the point inside or outside of polygon (thanks for
http://econym.googlepages.com/example_inside.htm)
*If I want to verify if a point is inside of a CIRCLE:*
  A circle of radius R leaving of the point P1. I calculate the size
of radius R in kilometers. To check if the point is inside or outside of
circle, check the distance of  desired point and the central point(P1). If
distance <= size Radius the point is inside of circle.
This is an alternative not to use the functions of MySQL or Postgree.

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