build layers list AGOL function