MCPcopy Create free account
hub / github.com/Thanas-R/Virdis / MapToolbarProps

Interface MapToolbarProps

src/components/MapToolbar.tsx:7–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5type MapStyle = "dark" | "satellite";
6
7interface MapToolbarProps {
8 onZoomIn: () => void;
9 onZoomOut: () => void;
10 onStyleChange?: (style: MapStyle) => void;
11 onToggleLayers?: () => void;
12 onToggleDraw?: () => void;
13 onResetNorth?: () => void;
14 onLocateUser?: () => void;
15 onToggleNdvi?: () => void;
16
17 isDrawing?: boolean;
18 showFields?: boolean;
19 showNdvi?: boolean;
20 defaultStyle?: MapStyle;
21}
22
23const MapToolbar = ({
24 onZoomIn,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected