Skip to content

Add state to hold location data #46

Description

@travissouthard

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

Metadata

Metadata

Assignees

Labels

map/gisThis issue requires work in Leaflet/GIS/mapreactThis issue requires work in React

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions