add isloading to mapdetailctrl