数据来源 / Data Source: @ArvinTingcn
This project was created with React, TypeScript, and Mapbox API.
- bug: some coordinates converted by Baidu were offset by some numbers. should use some other address -> coordinates transformation
- feature: add location data (country/city/etc)
- You'll need your access token from Mapbox to view the map. Here's a .env file example:
REACT_APP_MAPBOXGL_ACCESS_TOKEN=YOUR_TOKEN_HERE
- In the project directory, run:
npm install
# npm postinstall # fetch the data, parse it, and save it to src/data.json
npm start