[Feature]: 提供 map 地图组件及第三方地图服务接入方案
Maintainers usually reply within 2 days
@dos1in is already working on this.
Since Sep 8, 2026.
Assessment
This issue has not been assessed yet.
Description
目标模块 / Component
组件或 API 兼容性
背景与问题 / Problem
希望官方提供的 map 地图组件,支持小程序业务中的地图展示、定位、标记和地图交互等基础场景。
同时,希望官方提供第三方地图服务的推荐接入方式,例如高德地图、腾讯地图或其他地图服务。
建议方案 / Proposed Solution
- 提供与微信小程序 map 组件兼容的基础能力。
- 提供地图相关 API 和事件的使用方式。
- 明确第三方地图服务的接入方案,包括:
- 地图服务商选择;
- API Key 配置方式;
- Android、iOS、HarmonyOS 和 Web 的实现方式;
- 原生地图 SDK 与小程序代码实现的职责边界;
- 地图服务商切换或扩展机制;
- 定位权限、隐私合规和错误处理方式。
- 提供最小使用示例和接入文档。
使用示例与验收标准 / Use Case and Acceptance Criteria
1官方提供 map 组件及基础地图能力。
2官方提供第三方地图服务的推荐接入方案。
3明确地图能力应由原生 SDK 实现,还是由小程序代码实现,或采用两者结合的方式。
4提供各平台的配置说明、使用示例和能力差异说明。
5提供地图服务 Key、定位权限和隐私合规相关说明。
目标平台 / Target Platforms
Android, Harmony, iOS, Web
兼容性与影响 / Compatibility and Impact
希望参考微信小程序 map 组件的公开能力,并尽量保持跨平台 API 和使用方式一致。
参考文档:
https://developers.weixin.qq.com/miniprogram/dev/component/map.html
替代方案 / Alternatives
目前暂无统一的官方地图组件和第三方地图服务接入规范,业务方难以确定地图功能应采用原生实现还是小程序代码实现
是否愿意参与实现 / Contribution
None
参考资料或附件 / References
No response
补充信息 / Additional Context
No response
提交检查 / Checklist
- 我已搜索现有 Issues,确认没有相同建议。
- 这是一项明确的功能建议,而不是使用咨询或故障报告。
- Dominant language
- JavaScript
- Stars
- 968
- Forks
- 109
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 21
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from didi/dimina
-
[Bug]: 小程序缺少全局键盘高度监听 API(wx.onKeyboardHeightChange / offKeyboardHeightChange)Possibly taken @dos1in claimed this 2 days ago. Open
didi/dimina#400 · 1 assignee ·
Maintainers usually reply within 2 days
-
[Bug]: Android DiminaActivity 关闭/切换时输入派发超时 ANR(FocusEvent 等待超时,窗口 DRAW_PENDING)Possibly taken @dos1in claimed this 6 days ago. Open
didi/dimina#395 · 3 comments · 1 assignee ·
Maintainers usually reply within 2 days
-
[Feature]: 支持小程序 <image> 直接复用宿主 App 内置图片资源(类似 HostFonts)Possibly taken @dos1in claimed this 7 days ago. Openenhancement
didi/dimina#394 · 1 comment · 1 assignee ·
Maintainers usually reply within 2 days
-
[Feature]: modal和picker的分割线能对齐微信Possibly taken @dos1in claimed this 8 days ago. Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 58/100
didi/dimina#375 · 1 comment · 1 assignee ·
Maintainers usually reply within 2 days
-
[Feature]: 支持非全屏/局部渲染的自定义 <web-view> 组件(支持同层渲染与尺寸控制)Possibly taken @dos1in claimed this 12 days ago. Openenhancement
didi/dimina#372 · 2 comments · 1 assignee ·
Maintainers usually reply within 2 days
Similar issues
-
documentation enhancement first-time-contributor good first issue
Difficulty 1/5 Under an hour Newbie friendliness 84/100
SasanLabs/VulnerableApp#961 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Band: hits() drops git grep rows from CRLF files -> false "callers open" (and missed defs in reuse)Possibly taken @zhangkom claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
DietrichGebert/ponytail#1543 ·
Maintainers usually reply within 2 days
-
marketing
Difficulty 2/5 Half a day Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Fei2411/DeepSeek-Bot#2090 ·