Hi guys,
This is a basic demo of Street View application. Built with Next.js, using MapBox as the map and KRpano as the 360 view. XML is not used at all in the project.
Demo: https://street-view.vercel.app/
Code: https://github.com/Eric-Chen1990/street-view
In general, we write krpano code in XML. But for many front-end developers, xml syntax may not be comfortable. It is possible to use react, vue, next and other front-end frameworks for development. All the functions of krpano can still be used with js. But that doesn't mean you don't need to learn krpano's xml syntax. Only with a deeper understanding of krpano's xml syntax can you use krpano's js interface to do what you want.
Best,
Eric