我可以将 Google Streetview API 与我自己的图像一起使用吗?

发布于 2024-09-16 02:41:46 字数 133 浏览 2 评论 0原文

标题几乎说明了一切。我想将街景用于谷歌地图上没有的区域,那么我可以添加自己的道路,然后添加自己的街景全景图像吗?

它也是供个人使用的,显然我不是要求修改谷歌的实际地图。

我也很乐意使用街景的替代品,只要它能做同样的事情。

Title pretty much says it all. I want to use streeview for an area not on google maps, so could I add my own roads and then add my own panoramic images for streetview?

It's also for personal use, obviously I'm not asking to modify googles actual map.

I'd be happy to use an alternative to streeview too, as long as it does the same thing.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

-柠檬树下少年和吉他 2024-09-23 02:41:57

是的,您可以:

Maps Javascript API V3 支持在 StreetViewPanorama 对象中显示自定义全景图。使用自定义全景图,您可以显示建筑物的内部、风景名胜的景观或您想象中的任何内容。您甚至可以将这些自定义全景图链接到 Google 现有的街景全景图。

来源和进一步阅读:v3 API 服务:提供自定义街景全景图

您必须使用如下所示的完整环绕全景图:

Providing Custom StreetView Panoramas

全景图像通常是通过从一个位置拍摄多张照片并使用全景软件将它们拼接在一起来获得的。 (有关详细信息,请参阅维基百科的照片拼接应用程序比较。)此类图像应共享单个“相机”轨迹,每张全景图像均从中拍摄。然后,生成的 360 度全景图可以定义球体上的投影,并将图像包裹到球体的二维表面。

Yes you can:

The Maps Javascript API V3 supports the display of custom panoramas within the StreetViewPanorama object. Using custom panoramas, you can display the interior of buildings, views from scenic locations, or anything from your imagination. You can even link these custom panoramas to Google's existing Street View panoramas.

Source and further Reading: v3 API Services: Providing Custom StreetView Panoramas

You would have to use full wrap-around panoramas like the one below:

Providing Custom StreetView Panoramas

Panorama images are generally obtained by taking multiple photos from one position and stitching them together using panorama software. (See Wikipedia's Comparison of photo stitching applications for more information.) Such images should share a single "camera" locus, from which each of the panorama images are taken. The resulting 360 degree panorama can then define a projection on a sphere with the image wrapped to the two-dimensional surface of the sphere.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文