I am not using the inpoint functionality anywhere else.

I just am unable to get it functioning without the Prototype chunk.

All I am trying to accomplish is read data from the xml file.  then
once prthe polygon is clicked, an infowindow opens with the same
appearance of the marker's infowindows here: 
http://redhawks.semo.edu/map/daniel.html

If I keep the chunk in, I would need to traverse the labels array to
determine the correct name of the building. (polygons represent
buildings).

I could easily do something complicated, but it has been expressed (by
my boss) that he "needs" to understand what happening to maintain this
map after I graduate.

r
On Dec 6, 7:36 pm, Rossko <[EMAIL PROTECTED]> wr
> Your code doesn't need that chunk of code to to determine if a point
> is inside a polygon in order to us
>     GEvent.addListener(poly, "click", function() ...
> - the Google API now works that out by itself.  It will also tell you
> which polygon was clicked, if any, and the point at which the click
> was made.  So long as you use an up to date-ish version like say, v=2
>
> We don't know if you use the point-in-poly functionality for some
> other use somewhere else in your code, so only you can decide if you
> need that functionality or not.
>
> cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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