{"id":23898089,"url":"https://github.com/byteszero/amap_map_fluttify_null_safety","last_synced_at":"2025-07-01T10:37:04.313Z","repository":{"id":85308864,"uuid":"442063755","full_name":"BytesZero/amap_map_fluttify_null_safety","owner":"BytesZero","description":"amap_map_fluttify 插件的 Null Safety 版本","archived":false,"fork":false,"pushed_at":"2021-12-27T07:48:58.000Z","size":539695,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"pub","last_synced_at":"2025-01-04T17:20:17.756Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BytesZero.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}},"created_at":"2021-12-27T05:51:53.000Z","updated_at":"2021-12-27T07:49:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"33c635ac-f259-4b1a-a035-d6646fbc862f","html_url":"https://github.com/BytesZero/amap_map_fluttify_null_safety","commit_stats":null,"previous_names":["byteszero/amap_map_fluttify_null_safety"],"tags_count":129,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BytesZero%2Famap_map_fluttify_null_safety","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BytesZero%2Famap_map_fluttify_null_safety/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BytesZero%2Famap_map_fluttify_null_safety/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BytesZero%2Famap_map_fluttify_null_safety/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BytesZero","download_url":"https://codeload.github.com/BytesZero/amap_map_fluttify_null_safety/tar.gz/refs/heads/pub","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240286506,"owners_count":19777354,"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","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":[],"created_at":"2025-01-04T17:19:58.376Z","updated_at":"2025-02-23T07:45:58.568Z","avatar_url":"https://github.com/BytesZero.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [文档](https://github.com/fluttify-project/amap_map_fluttify/wiki) [文档](https://github.com/fluttify-project/amap_map_fluttify/wiki) [文档](https://github.com/fluttify-project/amap_map_fluttify/wiki)\n\n![Logo](https://github.com/fluttify-project/fluttify-core-example/blob/develop/other/Logo-Landscape.png?raw=true)\n\n# 高德地图 地图组件 Flutter插件\n[![pub package](https://img.shields.io/pub/v/amap_map_fluttify.svg)](https://pub.Flutter-io.cn/packages/amap_map_fluttify)\n\n## 由于精力有限, `1.0.0`版本开始, 作为社区版(0.x版本)将不再新增功能, 如果现有接口不能满足你的需求, 请使用专业版.\n\n**专业版为付费插件, 如有需要请联系qq 382146139**\u003cbr/\u003e\n**专业版为付费插件, 如有需要请联系qq 382146139**\u003cbr/\u003e\n**专业版为付费插件, 如有需要请联系qq 382146139**\u003cbr/\u003e\n\n[专业版demo apk下载](https://github.com/fluttify-project/fluttify-project/raw/master/resources/amap_map_fluttify/%E5%9C%B0%E5%9B%BE-demo.apk)\n\n# Fluttify系列插件\n|  名称  | 描述 | 仓库 |\n|:-----:|:-----:|:-----:|\n| [高德地图](https://github.com/fluttify-project/amap_map_fluttify)  |  高德地图地图组件, 提供地图控件 | [![pub package](https://img.shields.io/pub/v/amap_map_fluttify.svg)](https://pub.Flutter-io.cn/packages/amap_map_fluttify) |\n| [高德定位](https://github.com/fluttify-project/amap_location_fluttify)  |  高德地图定位组件, 提供独立的定位功能 | [![pub package](https://img.shields.io/pub/v/amap_location_fluttify.svg)](https://pub.Flutter-io.cn/packages/amap_location_fluttify) |\n| [高德搜索](https://github.com/fluttify-project/amap_search_fluttify)  |  高德地图搜索组件, 提供poi搜索等功能 | [![pub package](https://img.shields.io/pub/v/amap_search_fluttify.svg)](https://pub.Flutter-io.cn/packages/amap_search_fluttify) |\n| [高德猎鹰](https://github.com/fluttify-project/amap_track_fluttify)  |  高德地图猎鹰组件, 提供实时定位采集功能 | [![pub package](https://img.shields.io/pub/v/amap_track_fluttify.svg)](https://pub.Flutter-io.cn/packages/amap_track_fluttify) |\n| [百度地图](https://github.com/fluttify-project/bmap_map_fluttify)  |  百度地图, 包含了地图控件, 定位以及搜索poi等功能 | [![pub package](https://img.shields.io/pub/v/bmap_map_fluttify.svg)](https://pub.Flutter-io.cn/packages/bmap_map_fluttify) |\n| [百度人脸识别](https://github.com/fluttify-project/baidu_face_flutter)  |  百度人脸识别, 提供活体检测等功能 | [![pub package](https://img.shields.io/pub/v/baidu_face_flutter.svg)](https://pub.Flutter-io.cn/packages/baidu_face_flutter) |\n| [网易直播](https://github.com/fluttify-project/netease_live_fluttify)  |  网易直播推流组件 | [![pub package](https://img.shields.io/pub/v/netease_live_fluttify.svg)](https://pub.Flutter-io.cn/packages/netease_live_fluttify) |\n| [网易云信](https://github.com/fluttify-project/nim_fluttify)  |  网易云信 IM组件 | [![pub package](https://img.shields.io/pub/v/nim_fluttify.svg)](https://pub.Flutter-io.cn/packages/nim_fluttify) |\n| [腾讯直播](https://github.com/fluttify-project/tencent_live_fluttify)  |  腾讯直播, 包含推流组件和播放组件 | [![pub package](https://img.shields.io/pub/v/tencent_live_fluttify.svg)](https://pub.Flutter-io.cn/packages/tencent_live_fluttify) |\n| [腾讯IM](https://github.com/fluttify-project/tim_fluttify)  |  腾讯IM组件 | [![pub package](https://img.shields.io/pub/v/tim_fluttify.svg)](https://pub.Flutter-io.cn/packages/tim_fluttify) |\n| [腾讯地图](https://github.com/fluttify-project/tmap_map_fluttify)  |  腾讯地图组件 | [![pub package](https://img.shields.io/pub/v/tmap_map_fluttify.svg)](https://pub.Flutter-io.cn/packages/tmap_map_fluttify) |\n| [讯飞语音合成](https://github.com/fluttify-project/xftts_fluttify)  |  腾讯语言合成组件, 提供文字转语言功能 | [![pub package](https://img.shields.io/pub/v/xftts_fluttify.svg)](https://pub.flutter-io.cn/packages/xftts_fluttify) |\n| [极光统计](https://github.com/fluttify-project/janalytics_fluttify)  |  极光统计组件, 提供异常上报等功能 | [![pub package](https://img.shields.io/pub/v/janalytics_fluttify.svg)](https://pub.flutter-io.cn/packages/janalytics_fluttify) |\n| [阿里云RTC](https://github.com/fluttify-project/ali_rtc_fluttify)  |  阿里云实时音视频 | [![pub package](https://img.shields.io/pub/v/ali_rtc_fluttify.svg)](https://pub.flutter-io.cn/packages/ali_rtc_fluttify) |\n| [环信](https://github.com/fluttify-project/easemob_im_fluttify)  |  环信IM | [![pub package](https://img.shields.io/pub/v/easemob_im_fluttify.svg)](https://pub.flutter-io.cn/packages/easemob_im_fluttify) |\n| [未完待续...](https://github.com/fluttify-project)  |  如有其它需求, 请联系qq 382146139 | ![fluttify](https://img.shields.io/badge/fluttify-welcom-green) |\n\n## 依赖\n```yaml\ndependencies:\n  flutter:\n    sdk: flutter\n  amap_map_fluttify: ^x.x.x\n```\n\n## 配置\n### Android\n1. 注意在app/build.gradle的android块中配置签名信息, 并在buildTypes块中指定签名信息, 否则将无法匹配到你在高德后台配置的appkey, 例如:\n```groovy\nandroid {\n    signingConfigs {\n        release {\n            keyAlias 'amap_map_test'\n            keyPassword 'amap_map_test'\n            storeFile file('../amap_map_test.jks')\n            storePassword 'amap_map_test'\n        }\n    }\n\n    buildTypes {\n        debug {\n            signingConfig signingConfigs.release\n        }\n        profile {\n            signingConfig signingConfigs.release\n        }\n        release {\n            signingConfig signingConfigs.release\n        }\n    }\n}\n```\n\n### iOS\n1. 使用地图需要使能UiKitView, 在Info.plist中添加:\n```xml\n\u003ckey\u003eio.flutter.embedded_views_preview\u003c/key\u003e\n\u003cstring\u003eYES\u003c/string\u003e\n```\n2. 定位需要声明权限, 在Info.plist中添加:\n```xml\n\u003ckey\u003eNSLocationWhenInUseUsageDescription\u003c/key\u003e\n\u003cstring\u003e需要定位权限\u003c/string\u003e\n```\n3. 调用高德地图需要添加白名单:\n```dart\n\u003ckey\u003eLSApplicationQueriesSchemes\u003c/key\u003e\n\u003carray\u003e\n\t\u003cstring\u003eiosamap\u003c/string\u003e\n\t\u003cstring\u003eamapuri\u003c/string\u003e\n\u003c/array\u003e\n```\n\n## 导入\n```dart\nimport 'package:amap_map_fluttify/amap_map_fluttify.dart';\n```\n\n## 社区\n| QQ群 |\n| :----------: |\n| \u003cimg src=\"https://github.com/fluttify-project/fluttify-project/blob/master/resources/1593774713224_temp_qrcode_share_9993.png?raw=true\" height=\"300\"\u003e | \n\n## 社区版与专业版\n|  显示地图  | 社区版 | 专业版 |\n|:-----:|:-----:|:-----:|\n|  获取当前位置  |  ✅ |  ✅ |\n|  显示我的位置  |  ✅ |  ✅ |\n|  是否显示室内地图  |  ✅ | ✅ |\n|  选择显示图层  |  ✅ |   ✅ |\n|  选择地图语言  |  ✅ |  ✅ |\n|  显示路况信息  |  ✅ |   ✅ |\n|  显示缩放控件  |  ✅ |   ✅ |\n|  显示指南针  |  ✅    | ✅ |\n|  显示定位按钮  |  ✅ | ✅ |\n|  显示比例尺控件  |  ✅ | ✅ |\n|  缩放手势使能  |  ✅ |   ✅ |\n|  滑动手势使能  |  ✅ |   ✅ |\n|  旋转手势使能  |  ✅ |   ✅ |\n|  旋转手势使能  |  ✅ |   ✅ |\n|  设置缩放大小  |  ✅ |   ✅ |\n|  设置缩放是否以中心点为锚点  |  ✅ | ✅ |\n|  显示/隐藏3D楼块效果  | ☑️  | ✅ |\n|  显示/隐藏地图上的文字标注  |  ☑️ |  ✅ |\n|  同时设置缩放/倾斜/朝向/坐标并动画  |  ☑️ |  ✅ |\n\n|  在地图上绘制  | 社区版 | 专业版 |\n|:-----:|:-----:|:-----:|\n|  批量添加marker  |  ✅ |  ✅   |\n|  把marker列表从地图上移除  |  ✅ |  ✅   |\n|  清除地图上所有覆盖物  |  ✅ |  ✅   |\n|  添加折线  |  ✅ |  ✅   |\n|  添加多边形  |  ✅ |  ✅   |\n|  添加圆  |  ✅ |  ✅   |\n|  设置marker点击监听事件  |  ✅ |  ✅   |\n|  设置marker拖动监听事件  |  ✅ |  ✅   |\n|  Marker弹窗点击事件监听  |  ✅ |  ✅   |\n|  添加平滑移动marker  | ☑️ |  ✅   |\n|  添加海量点  | ☑️ |  ✅   |\n|  自定义弹窗  | ☑️ |  ✅   |\n|  设置海量点点击监听事件  | ☑️ |  ✅   |\n|  截图  | ✅  |  ✅   |\n|  自定义地图  | ☑️ |  ✅   |\n|  添加热力图  | ☑️ |  ✅   |\n|  添加图片覆盖物  | ☑️  |  ✅   |\n|  将指定的经纬度列表调整至同一屏幕中显示  | ☑️ |  ✅   |\n|  添加瓦片图  | ☑️  |  ✅   |\n|  输入起始点添加驾车路线  | ☑️  |  ✅   |\n|  输入地区名称添加地区轮廓  | ☑️  |  ✅   |\n|  添加回放轨迹  | ☑️  |  ✅   |\n|  轨迹平滑处理  | ☑️  |  ✅   |\n|  Marker(缩放 透明度 旋转 平移)动画  | ☑️  |  ✅   |\n\n|  与地图交互  | 社区版 | 专业版 |\n|:-----:|:-----:|:-----:|\n|  监听地图点击事件  |  ✅ |  ✅   |\n|  监听地图长按事件  |  ✅ |  ✅   |\n|  监听地图移动开始  |  ✅ |  ✅   |\n|  监听地图移动中  | ✅ |  ✅   |\n|  监听地图移动结束  |  ✅ |  ✅   |\n|  限制地图的显示范围  |  ✅ |  ✅   |\n|  获取当前缩放大小  |  ✅ |  ✅   |\n|  放大/缩小一个等级  |  ✅ |  ✅   |\n|  设置地图中心点  |  ✅ |  ✅   |\n|  获取地图中心点  |  ✅ |  ✅   |\n|  屏幕坐标转经纬度坐标  |  ✅ |  ✅   |\n|  经纬度坐标转屏幕坐标  |  ✅ |  ✅   |\n|  设置地图朝向  | ☑️ |  ✅   |\n|  设置地图倾斜度  | ☑️ |  ✅   |\n\n|  导航  | 社区版 | 专业版 |\n|:-----:|:-----:|:-----:|\n|  跳转高德app驾车导航  |  ✅ |  ✅   |\n|  跳转高德app骑行导航  |  ☑️ |  ✅   |\n|  内置导航组件  |  ☑️ |  ✅   |\n|  可嵌入的导航Widget  |  ☑️ |  ✅   |\n\n|  其他  | 社区版 | 专业版 |\n|:-----:|:-----:|:-----:|\n|  NO-IDFA  |  ☑️ |  ✅   |\n|  获取地图静态图片  |  ☑️ |  ✅   |\n|  电子围栏  |  ☑️ |  ✅   |\n\n## LICENSE\n\u003e Copyright (C) 2020 yohom\n\u003e \n\u003e This program is free software: you can redistribute it and/or modify\n\u003e it under the terms of the GNU General Public License as published by\n\u003e the Free Software Foundation, either version 3 of the License, or\n\u003e (at your option) any later version.\n\u003e \n\u003e This program is distributed in the hope that it will be useful,\n\u003e but WITHOUT ANY WARRANTY; without even the implied warranty of\n\u003e MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n\u003e GNU General Public License for more details.\n\u003e \n\u003e You should have received a copy of the GNU General Public License\n\u003e along with this program.  If not, see \u003chttps://www.gnu.org/licenses/\u003e.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyteszero%2Famap_map_fluttify_null_safety","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbyteszero%2Famap_map_fluttify_null_safety","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyteszero%2Famap_map_fluttify_null_safety/lists"}