You are not logged in.

Eric Chen

Trainee

  • "Eric Chen" started this thread

Posts: 58

Location: China

Occupation: Krpano custom coding

  • Send private message

1

Wednesday, December 7th 2022, 8:18am

KRpano + Next.js + MapBox + Typescript Demo

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.
*smile*


Best,
Eric
*thumbup*

Preload Plugin (Free, source code)
Constrast Plugin
KR HLS Plugin
Slider Controller Plugin
KR+Next+MapBox+TS Demo (source code)


微信:Eric_Chen1990

This post has been edited 1 times, last edit by "Eric Chen" (Jan 17th 2023, 5:34pm)


Similar threads