template for pin and zoom