I need some help with containsPoint(). I have a variable (myLoc) that represents a given point on the map on one layer. Tthe features I'm trying to monitor are polygons, so I think I
could just use the containsPoint function mixed with a for loop for
each feature. Does that make sense? Also, would it matter that my
starting point and the other polygons are on different layers?<br>
<br>Something like:<br><br><br>
var isHere;<div class="im"><br>
for (var i = 0; i < layer.features; i++) {<br></div>
isHere = layer.feature[i].<div id=":ye" class="ii gt">containsPoint(myLoc);<br>
if (isHere = TRUE) {<br> alert('true');<br>
}<br>
}<br><br>am I way off?<br><br><br><br><br>
</div>