Пример #1
0
        public static IMGLFeature[] VisibleFeaturesAtPoint(this MGLMapView map, CGPoint point, params string[] layers)
        {
            if (layers.Length > 0)
            {
                using (var layerIds = new NSSet <NSString>(layers.Select(x => (NSString)x).ToArray()))
                {
                    return(map.VisibleFeaturesAtPoint(point, layerIds));
                }
            }

            return(map.VisibleFeaturesAtPoint(point));
        }