프로젝트
GitHub에서 보기
qiaoshouqing/drive-escape
소개
주말 자가 운전 여행 계획 - 대화형 운전 시간 지도
기타 프로젝트What you can do
- 🔍 Search any city worldwide — instantly generates a driving time heatmap
- 🗺️ District-level boundaries with 10-tier color scale (green → red)
- 🏷️ Each district labeled with name, drive time, and distance
- ⏱️ Real driving time via OSRM + local cache for instant reload
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original🚗 Drive Escape — Weekend Self-Driving Map
Pick a city, see how far you can drive in 5 hours.
Live Demo → drive-escape.pomodiary.com
Author → @benshandebiao
Features
- 🔍 Search any city worldwide — instantly generates a driving time heatmap
- 🗺️ District-level boundaries with 10-tier color scale (green → red)
- 🏷️ Each district labeled with name, drive time, and distance
- ⏱️ Real driving time via OSRM + local cache for instant reload
- 🌏 International support (Japan, Europe, Australia, Taiwan, and more)
- 📱 Mobile friendly, multi-language (EN / 简体 / 繁體 / 日本語)
Tech Stack
| Component | Solution |
|---|---|
| Map rendering | Leaflet + OpenStreetMap |
| China boundaries | DataV GeoJSON API |
| International boundaries | Overpass API |
| Driving time | OSRM Table API (default) / Amap Driving API (CN) |
| City search | Nominatim API (default) / Amap Geocode API (CN) |
| Hosting | Cloudflare Pages + Functions |
No paid APIs by default. Fully open source.
Optional: Amap (高德) for Chinese users
OSRM and Nominatim can be slow or blocked from mainland China. Set two
Cloudflare Pages env vars to switch to Amap when the UI language is zh-CN:
| Variable | Value |
|---|---|
USE_AMAP |
true |
AMAP_KEY |
your Amap Web Service key |
Run Locally
git clone https://github.com/benshandebiao/drive-escape.git
cd drive-escape
python3 -m http.server 8080
# open http://localhost:8080
Deploy
wrangler pages deploy . --project-name drive-escape
License
MIT
관련 프로젝트 살펴보기
불러오는 중…