more debug code
update transforms when zoom level changes
apply the data transform and scaling in the correct order