Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Na tej stronie znajdziesz sposoby umieszczania sferycznych zdjęć w dowolnej witrynie za pomocą interaktywnego widoku panoramy 360°, takiego jak w Street View w Mapach Google.
Street View w interfejsie Maps Embed API
Interfejs Google Maps Embed API umożliwia wyświetlanie zdjęć Street View na stronie lub blogu jako interaktywnych zdjęć sferycznych. Google Street View udostępnia widoki panoramiczne z wybranych miejsc w ramach obszaru objętego usługą. Dostępne są też zdjęcia sferyczne przesłane przez użytkowników oraz specjalne kolekcje Street View.
Oto przykład umieszczenia interaktywnej kuli sferycznej:
Usługa zapewnia panoramiczne widoki 360° z wyznaczonych dróg na całym obszarze. Zakres interfejsu API Street View jest taki sam jak w przypadku aplikacji Mapy Google. Lista miast, w których obecnie dostępne jest Street View, jest dostępna na stronie Map Google.
Street View Image API
Interfejs Google Street View Image API umożliwia umieszczanie statycznej (nieinteraktywnej) miniatury zdjęcia sferycznego na stronie internetowej bez używania JavaScriptu. Jest to przydatne podczas tworzenia galerii z wieloma zdjęciami sferycznymi.
Oto przykład adresu URL statycznego obrazu kuli sferycznej:
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[[["\u003cp\u003eThis page provides instructions for embedding interactive 360-degree photo spheres on your website using Google Maps APIs.\u003c/p\u003e\n"],["\u003cp\u003eYou can use either the Google Maps Embed API or the Maps JavaScript API to display interactive Street View panoramas.\u003c/p\u003e\n"],["\u003cp\u003eThe Google Street View Image API allows embedding static thumbnails of photo spheres without JavaScript for galleries or simpler displays.\u003c/p\u003e\n"],["\u003cp\u003ePhoto spheres can be sourced from Google Street View, user contributions, and special collections.\u003c/p\u003e\n"]]],["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,["# Street View for Web Platforms\n\nThis page shows ways you can embed photo spheres on any website with an\ninteractive, 360-degree panorama viewer just like you see in Street View on\nGoogle Maps.\n\nStreet View in the Maps Embed API\n---------------------------------\n\nThe [Google Maps Embed API](/maps/documentation/embed/guide#street_view_mode)\nlets you display Street View images on your site or blog as interactive photo\nspheres. Google Street View provides panoramic views from designated locations\nthroughout its coverage area. User contributed photo spheres, and Street View\nspecial collections are also available.\n\nHere is an example of an embedded interactive photo sphere:\n\nStreet View in the Maps JavaScript API\n--------------------------------------\n\nThe [Street View Service](/maps/documentation/javascript/streetview) in the\n[Maps JavaScript API](/maps/documentation/javascript)\nallows you to programmatically retrieve and display Street View photo spheres.\n\nThe service provides panoramic 360 degree views from designated roads throughout\nits coverage area. Street View's API coverage is the same as that for the\nGoogle Maps application. The list of currently supported cities for Street View\nis available at the\n[Google Maps website](http://www.google.com/maps/about/behind-the-scenes/streetview/#where).\n\nStreet View Image API\n---------------------\n\nThe [Google Street View Image API](/maps/documentation/streetview) lets you\nembed a static (non-interactive) thumbnail of a photo sphere into your webpage\nwithout the use of JavaScript. This is helpful for creating galleries of\nmultiple photo spheres.\n\nHere is an example of a static image URL for a photo sphere:"]]