I am programming a 360 viewer and I need to implement markers on it. I have problems since I am getting this error.
enter image description here
I have installer react-photo-sphere-viewer and @photo-sphere-viewer/core and I am still getting the error. I don’t know what to do.
I am implementing the Markers like this:
import { ReactPhotoSphereViewer, MarkersPlugin } from 'react-photo-sphere-viewer';
const plugins = [[ MarkersPlugin, { markers: [] } ]];
<ReactPhotoSphereViewer
src={image}
height='100vh'
width="100%"
plugins={plugins}
>
</ReactPhotoSphereViewer>
Any help will be amazing.
I tried installing react-photo-sphere-viewer and photo-sphere-viewer in NPM and still getting the error