Created by | Andrew-Chen-Wang |
---|---|
Created on | 26 July 2021, 0002 |
Finished | 26 July 2021, 0236 |
License | Apache 2.0 License. You can find the license in the LICENSE file |
This repository was created for the Hear Ye app. This utilizes the free MapBox SDK.
You can press a button and get your current geographic position
with the ability to continuously track your location.
It shows all U.S. Congressional Districts and a
location pin at the center of the screen. Additionally,
it supports dark mode using the useColorScheme
hook.
Also included is filling in the district that the user selected. This allows for better client verification that the selected region is indeed their actually correct selection.
Go to App.js and change the API key to your own MapBox API key (it's free, no credit card needed).
Then run (there's a .nvmrc
file):
npm run start
Finally, start your device:
npm run ios