سؤال

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.

نصائح أخرى

That ability doesn't currently exist, see this enhancement request for the API (star it if you are interested in having it added)

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top