@nativescript/google-maps documentation. struggle to find even how to populate POI's on the map

未关闭
#270 11 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
文档
描述清晰度
需要澄清
活跃度
停滞
技术栈
angular, typescript

调研方向

从 issue 中提到的 package.json 依赖版本以及 MapView 和 GoogleMap 对象开始,然后跟踪地图插件如何与 Angular 一起使用。记录从 Angular 访问 GoogleMap 并填充 POIs 的受支持方式,并提供一个能够清楚展示完成后行为的示例。

由索引模型根据 Issue 内容生成。

描述

Hi!

I am trying to reverse engineer the codebase but cannot even find how to put POI's on the map.
Don't even see methods on the MapView object.
It is clear that the GoogleMap object has such methods, but not really sure how to access it with Angular.

package.json
{ "name": "borka-poc-nativescript-fe", "main": "./src/main.ts", "version": "1.0.0", "private": true, "dependencies": { "@angular/animations": "~13.2.0", "@angular/common": "~13.2.0", "@angular/compiler": "~13.2.0", "@angular/core": "~13.2.0", "@angular/forms": "~13.2.0", "@angular/platform-browser": "~13.2.0", "@angular/platform-browser-dynamic": "~13.2.0", "@angular/router": "~13.2.0", "@nativescript/angular": "^13.0.0", "@nativescript/core": "~8.2.0", "@nativescript/google-maps": "^1.1.2", "@nativescript/theme": "~3.0.2", "rxjs": "~7.5.0", "zone.js": "~0.11.5" }, "devDependencies": { "@angular-devkit/build-angular": "~13.2.0", "@angular/compiler-cli": "~13.2.0", "@nativescript/android": "^8.2.2", "@nativescript/ios": "8.2.3", "@nativescript/types": "~8.2.0", "@nativescript/webpack": "~5.0.6", "@ngtools/webpack": "~13.2.0", "typescript": "~4.5.5" } }

Thank you in advance!

主要语言
TypeScript
星标
206
派生
123
平均合并
2 天 1 小时
30 天内合并 PR
1

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

NativeScript/plugins 的其他 Issue

查看 NativeScript/plugins 的全部 Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。