NativeScript / NativeScript/plugins
[@nativescript/google-maps]: Support for MapId for styling through Google Cloud
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 206
- 派生
- 123
- 平均合并
- 2 天 1 小时
- 30 天内合并 PR
- 1
描述
Currently, there's a need for supporting MapId for styling through Google Cloud in the NativeScript Google Maps plugin. This feature would greatly enhance customization capabilities for maps in NativeScript applications.
https://developers.google.com/maps/documentation/get-map-id#android
Expected Behavior:
The plugin should provide an option to specify a MapId for styling through the Google Cloud platform. This would allow developers to utilize custom map styles created in the Google Cloud console.
Current Behavior:
At present, the plugin lacks support for specifying MapId for styling through Google Cloud. Developers are limited to using predefined styles or manually applying styles in code, which restricts flexibility and scalability.
Steps to Reproduce:
- Attempt to integrate a custom map style from Google Cloud using the NativeScript Google Maps plugin.
- Notice the absence of an option to specify a MapId for styling.
- Explore alternatives for customizing map styles within the plugin.
Proposed Solution:
Provide an API or configuration option within the NativeScript Google Maps plugin to specify a MapId for styling through Google Cloud. This could involve extending existing functionality or introducing a new method specifically for handling custom map styles from Google Cloud.
Environment:
NativeScript version: 8.7.0
NativeScript Google Maps plugin version: 1.7.1
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
该 issue 未指定源文件、测试或入口点。首先定位 NativeScript Google Maps 插件现有的地图配置和平台实现,然后阅读链接的 Google Maps Map ID 文档。当插件提供有文档说明的 Map ID 选项,并针对受支持的 NativeScript 环境对其进行验证时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- google-cloud, typescript
- 领域
- mobile-dev
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100