fleetback-360-panorama-image
v1.0.1
Published
A cross-platform component to display 360 panorama images.
Downloads
1
Keywords
Readme
360 Panorama Image Previewer
Getting started
npm install fleetback-360-panorama-image
Usage
Preview mode
<PanoramaImage
mediaUri={uri}
strings={{
couldNotLoadMessage: "Make sure you have an internet connection and try again",
couldNotLoadTitle: "Could not load the picture",
loading: "Loading",
openViewerMode: "Explore the interior 360",
viewerModeTutorial: "Use your fingers to navigate in your 360",
}}
/>
Confirm or reject mode
<PanoramaImage
mediaUri={uri}
strings={{
couldNotLoadMessage: "Make sure you have an internet connection and try again",
couldNotLoadTitle: "Could not load the picture",
loading: "Loading",
openViewerMode: "Explore the interior 360",
viewerModeTutorial: "Use your fingers to navigate in your 360",
}}
onConfirm={() => { /* ... */ }}
onReject={() => { /* ... */ }}
confirmMode
/>