Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在我的页面上嵌入了一张地图,每当用户访问它时,他们都会收到“允许位置”提示,如下图所示:
如何禁用此功能?我试图寻找但找不到任何资源。
任何信息或建议将不胜感激。谢谢!
显示此信息是因为在您的代码或 ui 上下文中,您正在尝试使用用户的真实当前位置。
检查您的代码或将其粘贴到此处,以便我们帮助您找到您尝试通过其浏览器使用用户当前位置的行。