适用于网络平台的街景
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
此页面介绍了如何使用交互式 360 度全景查看器在任意网站上嵌入 360 度全景照片,就像您在 Google 地图上的街景中看到的一样。
Maps Embed API 中的街景
借助 Google Maps Embed API,您可以在网站或博客上将街景图片显示为互动式全景照片。Google 街景提供其整个覆盖区域内指定位置的全景视图。我们还提供用户贡献的 360 度全景照片,以及街景特集。
以下是一个已嵌入交互式照片球的示例:
Maps JavaScript API 中的街景
Maps JavaScript API 中的街景服务可让您通过编程方式检索和显示街景照片球。
该服务可提供其覆盖区域内指定的公路全景 360 度视图。街景的 API 覆盖范围与 Google 地图应用的覆盖范围相同。如要获取街景当前支持的城市列表,请访问 Google 地图网站。
Street View Image API
借助 Google Street View Image API,您无需使用 JavaScript 便可将照片球的静态(非交互式)缩略图嵌入您的网页。这有助于创建多个照片球的图库。
以下是照片球的静态图像 URL 的示例:

如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],["The content outlines three methods to embed photo spheres on websites. The Maps Embed API allows interactive Street View images, like Google Maps. The Maps JavaScript API programmatically retrieves and displays interactive 360-degree photo spheres from supported cities. The Street View Image API embeds static thumbnails of photo spheres without JavaScript, suitable for galleries. These methods use Street View data, including user-contributed spheres and special collections, offering both interactive and static options.\n"],null,[]]