From 68de6ce83125f502b46ab41140117ea267085852 Mon Sep 17 00:00:00 2001 From: Benjamin Clark Date: Wed, 24 Apr 2024 21:01:13 -0400 Subject: [PATCH 1/3] Make the download button and wire it up to a method handler. --- site/src/App.jsx | 6 +++--- site/src/DownloadButton.jsx | 36 ++++++++++++++++++++++++++++++++++++ site/src/Map.jsx | 25 +++++++++++++++---------- site/src/main.jsx | 9 ++++++--- 4 files changed, 60 insertions(+), 16 deletions(-) create mode 100644 site/src/DownloadButton.jsx diff --git a/site/src/App.jsx b/site/src/App.jsx index 43f45cb..0318a96 100644 --- a/site/src/App.jsx +++ b/site/src/App.jsx @@ -2,14 +2,14 @@ import './App.css'; import Header from './Header'; import Footer from './Footer'; import Map from './Map'; - +import {MapProvider} from 'react-map-gl/maplibre'; function App() { return ( - <> +