Type Alias: RNPanoramaOptions
type RNPanoramaOptions = {
camera?: RNStreetViewCamera;
panoramaId?: string;
position?: RNLatLng;
radius?: number;
source?: RNStreetViewSource;
};
Initial Street View configuration. Applied once at mount time.
Properties
| Property | Type | Default value | Description |
|---|---|---|---|
camera? | RNStreetViewCamera | Initial camera orientation. Applied once at mount time. See RNStreetViewCamera. | |
panoramaId? | string | Load a specific panorama by ID. Takes priority over position when set. | |
position? | RNLatLng | Initial panorama position. Ignored when panoramaId is set. See RNLatLng. | |
radius? | number | 50 | Search radius in meters around position. |
source? | RNStreetViewSource | 'default' See RNStreetViewSource. | Restricts panoramas to the given source. |