SupportStreetViewPanoramaFragment

extends Fragment

java.lang.Object

↳

android.support.v4.app.Fragment

↳

com.google.android.gms.maps.SupportStreetViewPanoramaFragment

Class Overview

A StreetViewPanorama component in an app. This fragment is the simplest way to place a
Street View panorama in an application. It's a wrapper around a view of a panorama to
automatically handle the necessary life cycle needs. Being a fragment, this component can be
added to an activity's layout file simply with the XML below.

Any object obtained from the StreetViewPanorama is associated with the view. It's
important to not hold on to objects beyond the view's life. Otherwise it will cause a memory leak
as the view cannot be released.

Use this class only if you are targeting API 12 and above. Otherwise, use
SupportStreetViewPanoramaFragment.