codeforboston / mattapan-mapping

Mattapan Mapping application. A collaborative between powerfulpathways.org & codeforboston.org . Ideation phase.
https://mattapan-pp.netlify.app/
MIT License
5 stars 16 forks source link

Map Story with react components #137

Closed shalarewicz closed 2 years ago

shalarewicz commented 2 years ago

First pass at implement Mapboxes storytelling model with React components. Still a few todos regarding theming and typing. There is also a bug with the Marker. It currently appears in the top left corner of the map on the initial page load despite being passed the correct coordinates. the marker moves to the correct position on a page refresh or by scrolling to the next step.

You can view the map at /story

netlify[bot] commented 2 years ago

Deploy Preview for mattapan-mapping ready!

Name Link
Latest commit 31de1d85912634b11234a5923746d743807ce340
Latest deploy log https://app.netlify.com/sites/mattapan-mapping/deploys/62955691ea61ef00092ec2c7
Deploy Preview https://deploy-preview-137--mattapan-mapping.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

shalarewicz commented 2 years ago

@thadk The graphql endpoint is in .env can you add REACT_APP_GRAPHQL_ENDPOINT to the netlify config?

thadk commented 2 years ago

@shalarewicz I changed your environment variable to match Endy's REACT_APP_GRAPHQL_URI instead of REACT_APP_GRAPHQL_ENDPOINT.