예제 #1
0
 public IEnumerable <BoundingBox> GetPolygonSearchBoxes([FromBody] PolygonSearchRequestModelClass data)
 {
     return(geohash.DataBase.BpolygonBoxes(data.Vertices, data.Level));
 }
예제 #2
0
        public IEnumerable <Coordinates> GetPolygonSearchCoordinates([FromBody] PolygonSearchRequestModelClass data)
        {
            var db = _dbInterface.GetDatabase();

            return(db.BpolygonCoordinates(data.Vertices, data.Level));
        }