{"id":18565085,"url":"https://github.com/jenly1314/maphelper","last_synced_at":"2025-09-05T22:34:21.357Z","repository":{"id":72501408,"uuid":"260949042","full_name":"jenly1314/MapHelper","owner":"jenly1314","description":":earth_asia: MapHelper是一个整合了高德地图、百度地图、腾讯地图、谷歌地图等相关路线规划和导航的地图帮助类库","archived":false,"fork":false,"pushed_at":"2025-05-14T15:26:30.000Z","size":24699,"stargazers_count":109,"open_issues_count":0,"forks_count":16,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-14T16:31:51.127Z","etag":null,"topics":["android","bd-09ll","bd-09mc","bd09ll","bd09mc","coordinate-converter","gcj-02","gcj02","latlng","map","map-helper","map-navigation","map-route","navigation","route","route-plan","wgs-84","wgs84"],"latest_commit_sha":null,"homepage":"https://jenly1314.github.io/MapHelper/","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jenly1314.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-03T14:52:23.000Z","updated_at":"2025-05-14T15:26:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"4dede7d5-1ca7-4b20-9ba4-43f7d1252f9a","html_url":"https://github.com/jenly1314/MapHelper","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"2ea81ae402f2cbefa9b14cf6132349afc8690710"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/jenly1314/MapHelper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenly1314%2FMapHelper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenly1314%2FMapHelper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenly1314%2FMapHelper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenly1314%2FMapHelper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jenly1314","download_url":"https://codeload.github.com/jenly1314/MapHelper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenly1314%2FMapHelper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273832365,"owners_count":25176262,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","bd-09ll","bd-09mc","bd09ll","bd09mc","coordinate-converter","gcj-02","gcj02","latlng","map","map-helper","map-navigation","map-route","navigation","route","route-plan","wgs-84","wgs84"],"created_at":"2024-11-06T22:17:44.064Z","updated_at":"2025-09-05T22:34:21.348Z","avatar_url":"https://github.com/jenly1314.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MapHelper\n\n![Image](app/src/main/ic_launcher-playstore.png)\n\n[![MavenCentral](https://img.shields.io/maven-central/v/com.github.jenly1314/maphelper?logo=sonatype)](https://repo1.maven.org/maven2/com/github/jenly1314/MapHelper)\n[![JitPack](https://img.shields.io/jitpack/v/github/jenly1314/MapHelper?logo=jitpack)](https://jitpack.io/#jenly1314/MapHelper)\n[![CI](https://img.shields.io/github/actions/workflow/status/jenly1314/MapHelper/build.yml?logo=github)](https://github.com/jenly1314/MapHelper/actions/workflows/build.yml)\n[![Download](https://img.shields.io/badge/download-APK-brightgreen?logo=github)](https://raw.githubusercontent.com/jenly1314/MapHelper/master/app/release/app-release.apk)\n[![API](https://img.shields.io/badge/API-16%2B-brightgreen?logo=android)](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)\n[![License](https://img.shields.io/github/license/jenly1314/MapHelper?logo=open-source-initiative)](https://opensource.org/licenses/mit)\n\nMapHelper for Android 是一个整合了高德地图、百度地图、腾讯地图、谷歌地图等相关路线规划和导航的地图帮助类库。\n\n## 功能介绍\n- ✅ 简单易用，一句代码实现\n- ✅ 地图路线规划/导航\n- ✅ **GCJ-02** / **WGS-84** / **BD09LL** 等相关坐标系互转\n\n## 效果展示\n![Image](GIF.gif)\n\n\u003e 你也可以直接下载 [演示App](https://raw.githubusercontent.com/jenly1314/MapHelper/master/app/release/app-release.apk) 体验效果\n\n## 引入\n\n### Gradle:\n\n1. 在Project的 **build.gradle** 或 **setting.gradle** 中添加远程仓库\n\n    ```gradle\n    repositories {\n        //...\n        mavenCentral()\n    }\n    ```\n\n2. 在Module的 **build.gradle** 中添加依赖项\n    ```gradle\n    implementation 'com.github.jenly1314:maphelper:1.2.0'\n    ```\n\n## 使用\n\n### 代码示例\n\n```kotlin\n    // 调用相关地图线路/导航示例（params表示一些具体参数）\n\n    // 跳转到地图（高德、百度、腾讯、谷歌地图等）\n    MapHelper.gotoMap(params)\n    // 跳转到高德地图\n    MapHelper.gotoAMap(params)\n    // 跳转到百度地图\n    MapHelper.gotoBaiduMap(params)\n    // 跳转腾讯地图\n    MapHelper.gotoTencentMap(params)\n    // 跳转到谷歌地图\n    MapHelper.gotoGoogleMap(params)\n    // 坐标系转换：WGS-84转GCJ-02(火星坐标系)\n    MapHelper.wgs84ToGCJ02(latitude,longitude)\n    // 坐标系转换：GCJ-02(火星坐标系)转WGS-84\n    MapHelper.gcj02ToWGS84(latitude,longitude)\n    //...\n```\n更多使用详情，请查看[app](app)中的源码使用示例或直接查看 [API帮助文档](https://jenly1314.github.io/MapHelper/api/)\n\n## 相关推荐\n\n- [Location](https://github.com/jenly1314/Location) 一个通过 Android 自带的 LocationManager 来实现的定位功能。\n- [RetrofitHelper](http://github.com/jenly1314/RetrofitHelper) 一个支持动态改变BaseUrl，动态配置超时时长的Retrofit帮助类。\n- [BaseUrlManager](http://github.com/jenly1314/BaseUrlManager) 一个BaseUrl管理器，主要用于打测试包时，一个App可动态切换到不同的开发环境或测试环境。\n- [AppUpdater](http://github.com/jenly1314/AppUpdater) 一个专注于App更新，一键傻瓜式集成App版本升级的轻量开源库。\n- [ImageViewer](http://github.com/AndroidKTX/ImageViewer) 一个图片查看器，一般用来查看图片详情或查看大图时使用。\n- [LogX](http://github.com/jenly1314/LogX) 一个轻量而强大的日志框架；好用不解释。\n- [KVCache](http://github.com/jenly1314/KVCache) 一个便于统一管理的键值缓存库；支持无缝切换缓存实现。\n- [AndroidKTX](http://github.com/AndroidKTX/AndroidKTX) 一个简化 Android 开发的 Kotlin 工具类集合。\n- [AndroidUtil](http://github.com/AndroidUtil/AndroidUtil) 一个整理了Android常用工具类集合，平时在开发的过程中可能会经常用到。\n\n\u003c!-- end --\u003e\n\n## 版本日志\n\n#### v1.2.0：2023-7-26\n*  适配Android 11 (R) 软件包的可见性\n\n#### [查看更多版本日志](CHANGELOG.md)\n\n---\n\n![footer](https://jenly1314.github.io/page/footer.svg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjenly1314%2Fmaphelper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjenly1314%2Fmaphelper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjenly1314%2Fmaphelper/lists"}