add two-way binding to center and zoom attributes