Exemple #1
0
        private IEnumerable <Building> GetBuildingsInRadius()
        {
            double degreeRadius = _searchSetting.Radius / 111;

            return(_buildingDB.GetBuildingsInRadius(_latitude + degreeRadius,
                                                    _latitude - degreeRadius, _longitude + degreeRadius, _longitude - degreeRadius));
        }