Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trang này cho biết cách bạn có thể nhúng ảnh toàn cảnh 360 độ trên bất kỳ trang web nào bằng trình xem ảnh toàn cảnh 360 độ tương tác giống như bạn thấy trong Chế độ xem đường phố trên Google Maps.
Chế độ xem đường phố trong Maps Embed API
API Nhúng Google Maps cho phép bạn hiển thị hình ảnh Chế độ xem đường phố trên trang web hoặc blog dưới dạng ảnh toàn cảnh 360 độ tương tác. Google Street View cung cấp hình ảnh toàn cảnh từ các vị trí được chỉ định trong phạm vi cung cấp. Bạn cũng có thể xem ảnh toàn cảnh 360 độ do người dùng đóng góp và các bộ sưu tập đặc biệt trên Chế độ xem đường phố.
Dưới đây là ví dụ về một ảnh toàn cảnh tương tác được nhúng:
Dịch vụ này cung cấp hình ảnh toàn cảnh 360 độ từ các con đường được chỉ định trên toàn bộ phạm vi cung cấp. Phạm vi bao phủ API của Chế độ xem đường phố cũng tương tự như đối với ứng dụng Google Maps. Bạn có thể xem danh sách các thành phố hiện được hỗ trợ Chế độ xem đường phố tại trang web của Google Maps.
API hình ảnh chế độ xem đường phố
API Hình ảnh của Google Street View cho phép bạn nhúng hình thu nhỏ tĩnh (không tương tác) của ảnh toàn cảnh vào trang web mà không cần sử dụng JavaScript. Điều này hữu ích khi tạo thư viện gồm nhiều ảnh toàn cảnh 360 độ.
Sau đây là ví dụ về URL hình ảnh tĩnh cho ảnh toàn cảnh:
[null,null,["Cập nhật lần gần đây nhất: 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:"]]