Beispiel #1
0
        public async Task <List <RadiusWithDistResult> > GeoRadiusWithDistAsync(RadiusWithDistInput pointInput)
        {
            var values = await client.GeoRadiusWithDistAsync(pointInput.Key, pointInput.Longitude, pointInput.Latitude,
                                                             pointInput.Radius, pointInput.Unit, pointInput.Count, pointInput.GeoOrderBy);

            var rwds = from v in values.ToList()
                       select new RadiusWithDistResult()
            {
                Name = v.member,
                Dist = v.dist
            };

            return(rwds.ToList());
        }