CodeForPhilly / CodeForPhilly/third-places

Add state to hold location data

Open
#46 0 comments 0 reactions 1 assignee Claimed by @conorpbrady View on GitHub
map/gis react
Dominant language
Python
Stars
8
Forks
6
PR merge metrics
No merged PRs in 30d

Description

# 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.