Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add state to hold location data #46

Open
travissouthard opened this issue May 9, 2023 · 0 comments
Open

Add state to hold location data #46

travissouthard opened this issue May 9, 2023 · 0 comments
Assignees
Labels
map/gis This issue requires work in Leaflet/GIS/map react This issue requires work in React

Comments

@travissouthard
Copy link
Collaborator

Overview

Add React state to the Map component and an asynchronous function to request the location data from the backend. (A useEffect hook with an empty dependency array would work for this). Once resolved, the state should be updated with the geoJSON returned. This will later be used by a Marker layer to put those locations on the map

Context

Blocked by #22

@travissouthard travissouthard added react This issue requires work in React map/gis This issue requires work in Leaflet/GIS/map labels May 9, 2023
@conorpbrady conorpbrady self-assigned this Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
map/gis This issue requires work in Leaflet/GIS/map react This issue requires work in React
Projects
None yet
Development

No branches or pull requests

2 participants