Ok I've managed to do it. 

The problem was that I didn't knew how to call the layer like the
selectFeature method does it
until I replaced "this" with map which is "map = new OpenLayers.Map('map');"

I've also used http://openlayers.org/dev/examples/intersects.html.
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Prevent-from-draw-polygon-on-a-another-polygon-tp5805900p5807477.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to