Google JavaScript API v3 - 街景服务 - 关闭建筑物内部 [英] Google JavaScript API v3 - Street View Service - turn off building interiors

查看:288
本文介绍了Google JavaScript API v3 - 街景服务 - 关闭建筑物内部的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通常,我的应用程序中的地理编码将返回屋顶精度。

当我放大位置并开始观看街景时,我最终会进入建筑物内部,而不是街道上。我想永远在街上。



我在这里寻找某种配置设置:街景文档,这将允许我关闭建筑物内部,但没有运气。有人可以证实我是否有可能找到我想要的东西吗?



谢谢。

解决方案

google.maps.StreetViewSource.OUTDOOR 。文件:





PS:感谢用于追踪URL引用的geocodezip。


Often the geocoding in my application will return rooftop accuracy.

When I zoom into the location, and I switch on street view, I will end up inside a building, rather than on the street. I want to always be out on the street.

I was looking for some kind of configuration setting here: street view documentation, that will allow me to turn off building interiors but no luck. Can someone confirm whether or not what I'm looking for is possible?

Thanks.

解决方案

The property we're looking for is google.maps.StreetViewSource.OUTDOOR. Docs:

PS: Thanks to geocodezip for the bug tracking URL reference.

这篇关于Google JavaScript API v3 - 街景服务 - 关闭建筑物内部的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆