ThinkGeo.com    |     Documentation    |     Premium Support

How to find out if some features are contained with Restriction Layer

I have a RestrictionLayer added to my CustomOverlays.
I also have a bunch of features in another ShapeFileFeatureLayer
And want to see if all (or part) of them are contained in RestrictionLayer boundaries or not. And return a boolean result.
Thanks.

Ahh!
I think i find it: var featureIsInOperableConfine=restrictionLayer.Zones.Any(zone=>zone.Contains(feature));

Hi Reza,

I am glad to hear you solved that.

Regards,

Don