Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Bug]

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

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
20/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
firebase, react, typescript

调研方向

将正常工作的 CodeSandbox 复现 login-empty 和 login-map 与 multiple-maps 示例进行比较,然后检查浏览器控制台中是否存在报告的 Google Maps 错误。检查 Firebase 登录后地图是否会渲染,并记录相关的库、浏览器、操作系统和 Google Maps 版本。完成的标准是:经过身份验证的 multiple-maps 示例能够显示其地图,且不出现报告的错误。

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

描述

bug
Description

I was trying to add a google firebase login to multimap example (https://visgl.github.io/react-google-maps/examples/multiple-maps, example is certainly working).
empty
login-screen
normal

First, i created a empty login with only firebase code,
login name: [email protected]
password: 123456
it worked and showed a welcome message, (see login-screen.png)
then i added the multiplemap code, the multiple maps does not show up at all. Nothing. (see empty.png)
I am not sure if there is a bug here or it is google firebase problem.

Steps to Reproduce

the working empty login can be seen in
https://codesandbox.io/p/github/qiaoxin136/login-empty/draft/autumn-pine?workspaceId=d68df01c-f46f-497c-bfee-4134267b36a9

the login with map (showing empty result) can be seen in

https://codesandbox.io/p/github/qiaoxin136/login-map/main?workspaceId=d68df01c-f46f-497c-bfee-4134267b36a9

again login name: [email protected] password: 123456

Environment
  • Library version:
  • Google maps version: weekly
  • Browser and Version:
  • OS:
Logs
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'hi')
    at google.maps.__gjsload__._.ar (common.js:7:229)
    at Hn.<anonymous> (map.js:58:206)
    at _.Dk (js?key=AIzaSyBsntctk…hzbQZ_d4gsw:173:457)
    at map.js:58:142
    at new Promise (<anonymous>)
    at Nwa.swa [as sF] (map.js:58:114)
    at js?key=AIzaSyBsntctk…NhzbQZ_d4gsw:240:78
主要语言
TypeScript
星标
1.9k
派生
195
平均合并
2 天 11 小时
30 天内合并 PR
14

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

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

visgl/react-google-maps 的其他 Issue

查看 visgl/react-google-maps 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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