public static long totalPage = 0; //中页数 protected void Page_Load(object sender, EventArgs e) { if (Request.QueryString["pageNumber"] != null) { pageNumber = int.Parse(Request.QueryString["pageNumber"].ToString()); allPoints = pointService.GetAllPoints(ref pageNumber, ref totalPage); } else { allPoints = pointService.GetAllPoints(ref pageNumber, ref totalPage); } }
public List <Point> GetAllPoints(float minLat, float minLng, float maxLat, float maxLng) { return(_ps.GetAllPoints(minLat, minLng, maxLat, maxLng)); }