ПК Ремонт техники
1 просмотров
Рейтинг статьи
1 звезда2 звезды3 звезды4 звезды5 звезд

Street View Service

Гугл карты нью йорк панорама

You may wish to programmatically determine the availability of Street View data, or return information about particular panoramas, without requiring direct manipulation of a map/panorama. You may do so using the StreetViewService object, which provides an interface to the data stored in Google’s Street View service.

Street View Service Requests

Accessing the Street View service is asynchronous, since the Google Maps API needs to make a call to an external server. For that reason, you need to pass a callback method to execute upon completion of the request. This callback method processes the result.

You can initiate requests to the StreetViewService using StreetViewPanoRequest or StreetViewLocationRequest .

A request using StreetViewPanoRequest returns panorama data given a reference ID which uniquely identifies the panorama. Note that these reference IDs are only stable for the lifetime of the imagery of that panorama.

A request using StreetViewLocationRequest searches for panorama data at a specified location, using the following parameters:

Ссылка на основную публикацию