| 5 | type MapStyle = "dark" | "satellite"; |
| 6 | |
| 7 | interface 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 | |
| 23 | const MapToolbar = ({ |
| 24 | onZoomIn, |
nothing calls this directly
no outgoing calls
no test coverage detected