CodeForPhilly / CodeForPhilly/third-places

Add state to hold location data

Offen
#46 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @conorpbrady Auf GitHub ansehen
map/gis react
Vorherrschende Sprache
Python
Sterne
8
Forks
6
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

# 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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.