https://github.com/leandroberlin/react-geo
Geopositioning Exercise
https://github.com/leandroberlin/react-geo
Last synced: 3 months ago
JSON representation
Geopositioning Exercise
- Host: GitHub
- URL: https://github.com/leandroberlin/react-geo
- Owner: LeandroBerlin
- Created: 2018-03-15T09:39:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-15T09:59:10.000Z (over 7 years ago)
- Last Synced: 2025-01-19T10:08:58.051Z (5 months ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React-Geo
A Geoposition App exercise
- Clone this repo
- Refactor App by creating a new component named called ``
- should use a child render callback that passes to the latitude and longitude state
- When you're done, should no longer have anything but a render method
- Now create a component that also uses a render callback with the current address. You will use `getAddressFromCoords(latitude, longitude)` to get the address, it returns a promise.
- You should be able to compose and beneath it to naturally compose both the UI and the state needed to render it
## Bonus tasks
- Split components and organize a better project structure
- Fix soon-to-be deprecated method (16.3) ;)
- Include Leaflet.js -> http://leafletjs.com and add a map!