();
+    const onZoom = useCallback(() => {
+        if (!apiRef.current) return;
+        setZoomLevel(apiRef.current.getZoom());
+    }, []);
+    useTouchBar(({ TouchBar, parentComponent }) => {
+        const map = apiRef.current;
+        if (!note || !map) return;
+
+        return [
+            new TouchBar.TouchBarSlider({
+                label: "Zoom",
+                value: zoomLevel ?? map.getZoom(),
+                minValue: map.getMinZoom(),
+                maxValue: map.getMaxZoom(),
+                change: (newValue) => map.setZoom(newValue)
+            }),
+            new TouchBar.TouchBarButton({
+                label: "New geo note",
+                click: () => parentComponent?.triggerCommand("geoMapCreateChildNote"),
+                enabled: (state === State.Normal)
+            })
+        ];
+    }, [ zoomLevel, state ]);
+
     return (