Updated application to fetch AGEBS layer from server on demand according to the current viewport