10x for the reply Andrew,i found the solution here :

http://econym.org.uk/gmap/inside.htm

thank you all 'n have a good day :)

On 7 Дек, 13:04, Andrew Leach <[email protected]> wrote:
> On Dec 7, 9:36 am, Boris <[email protected]> wrote:
>
> > hi group ,
> > this is my map and for now it works perfect , i just want to add some
> > functionality for addresses that is submitted to form from users , if
> > address is IN polygon - give an OK  message to user , else - not
> > ok :)) and depend on this to change icon , anybody know what to do ?
> > my javascript skills are terrible :( so please help
> > i have found on web this article (http://dawsdesign.com/drupal/
> > google_maps_point_in_polygon) but not sure what to do to make it work
> > for my case
>
> Please don't post code. Post a link.
>
> Have a look at Mike's EPoly extension. That adds a .Contains method to
> GPolygon, so you can see if a particular point is within the 
> polygon.http://econym.org.uk/gmap/epoly.htm
>
> Define the polygon; set the OK icon;
> Geocode the point submitted;
> If the point is within the polygon, output a message;
> Else set the icon as a NotOK icon;
>
> Andrew

--

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