# web-map **Repository Path**: xmyxm/web-map ## Basic Information - **Project Name**: web-map - **Description**: No description available - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-04-13 - **Last Updated**: 2025-04-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 千岛湖离线地图查看器 这是一个用于查看千岛湖区域离线地图的 Web 应用。 ## 项目结构 ``` qiandaohu-map/ ├── index.html # 主页面 ├── css/ │ └── style.css # 样式文件 ├── js/ │ └── map.js # 地图配置脚本 ├── tiles/ # 离线瓦片图存储目录 ├── download_tiles.py # 瓦片图下载脚本 └── requirements.txt # Python 依赖文件 ``` ## 使用说明 1. 下载瓦片图: ```bash # 安装依赖 pip install -r requirements.txt # 运行下载脚本 python download_tiles.py ``` 注意:下载过程可能需要较长时间,请耐心等待。 2. 查看地图: - 直接在浏览器中打开 `index.html` 文件 - 或者使用简单的 HTTP 服务器: ```bash python -m http.server 8000 ``` 然后在浏览器中访问 `http://localhost:8000` ## 地图范围 - 纬度范围:29.4°N - 29.8°N - 经度范围:118.8°E - 119.2°E - 缩放级别:10-16 级 ## 注意事项 - 瓦片图来自 OpenStreetMap,仅供个人学习使用 - 请遵守 OpenStreetMap 的使用条款 - 离线瓦片图的下载和使用应符合相关法律法规