示例#1
0
    private void GetMarkupExtent()
    {
        int[]    groupIds = Request.Form["ids"].Split(',').Select(o => Convert.ToInt32(o)).ToArray();
        Envelope extent   = MarkupManager.GetExtent(groupIds);

        ReturnJson <double[]>("extent", extent.IsNull ? null : extent.ToArray());
    }