added functinality for #92 just need to fill in bbox attribute for those layers that need it