Skip to content

for-the-zero/MapPinner

Repository files navigation

MapPinner

记录旅行路线

Record Your Traveling Routes


主要功能 / Main Features

  • 路线管理: 创建、编辑和删除路线,并为每条路线自定义颜色
  • Route Management: Create, edit, and delete routes, and customize the color for each route.
  • 地点标记: 在地图上添加、命名和删除标记点,并将它们分配给特定路线
  • Place Markers: Add, name, and delete markers on the map, and assign them to specific routes.
  • 精确定位: 通过 GPS 获取您的当前位置,或通过搜索或经纬度手动定位
  • Precise Positioning: Get your current position via GPS, or manually locate via search or latitude/longitude.
  • 数据管理: 导入和导出您的路线数据,以便备份和共享
  • Data Management: Import and export your route data to backup and share.

安装与运行 / Installation and Running

安装APK / Install APK

Releases 页面下载

Download from Releases page.

从源代码构建 / Build from Source

实际上省略了一些内容,最好自己问LLM

In fact, some content is omitted, it's better to ask LLM.

git clone git@github.com:for-the-zero/MapPinner.git
cd MapPinner
npm install
npm start:dc

通过Dev Client打开,可以从构建,也可以通过Releases下载

Open Dev Client, you can build from source or download from Releases page.

构建APK / Build APK

Dev Client:

eas build --profile development --platform android

Production:

eas build --profile production --platform android

使用方法

  • 设置 Maptiler API 密钥: 在“设置”页面中,输入您的 Maptiler API 密钥以启用地图服务
  • Setup Maptiler API Key: Enter your Maptiler API key in the "Settings" page to enable map services.
  • 定位: 来到"地图"页面,点击“定位”按钮,或在地图上单击以获取当前位置
  • Positioning: Go to the "Map" page, click the "Locate" button, or click on the map to get your current position.
  • 搜索: 在搜索栏中输入地址或经纬度,即可快速定位到该位置
  • Search: Enter an address or latitude/longitude in the search bar to quickly locate the position.
  • 添加标记点: 在地图页面,剪辑右下角FAB,即可在该位置添加一个新的标记点
  • Add Place Markers: On the map page, clip the FAB at the bottom-right corner to add a new place marker.
  • 管理路线: 在“路线”页面,您可以创建、重命名、删除或编辑现有路线,可以更改路线的颜色,可以重命名、删除标记点
  • Manage Routes: On the "Routes" page, you can create, rename, delete, or edit existing routes, change the color of the route, rename, or delete place markers.
  • 导入/导出数据: 在“设置”页面,您可以轻松地复制您的路线数据或导入新的数据
  • Import/Export Data: On the "Settings" page, you can easily copy your route data or import new data.
  • 截图: 在地图页面,点击右上角的“截图”按钮,即可分享您的截图
  • Screenshots: On the map page, click the "Screenshot" button at the top-right corner to share your screenshot.

核心依赖 / Core Dependencies

React Native Expo MapLibre React Native React Native Paper + Expo Material3 Theme i18n-js

图标 / Icon

Generated by AppIcon Forge

Author: Google

Licence: Apache 2.0

About

Record Your Traveling Routes

Resources

License

Stars

Watchers

Forks

Packages

No packages published