protected void btnZoomAll(object sender, System.EventArgs e) { Map map = GetMapObj(); UserMap.ZoomAll(map); //map.SetView(map.Layers.Bounds, map.GetDisplayCoordSys()); }