mpetroff / pannellum

Pannellum is a lightweight, free, and open source panorama viewer for the web.
https://pannellum.org/
MIT License
4.23k stars 722 forks source link

How to create custom controls and hotspots in a Next.js project #1146

Closed pravunathCBD closed 1 year ago

pravunathCBD commented 1 year ago

I've gone through the section of creating custom controls and custom hotspots in the docs but the issue I've been facing is how to implement it in a Next.js project?

I've tried modifying the native styles in my global.css file

.pnlm-controls-container {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
}

But this dosen't seem to work.

It would be a great help if someone could help me figure out what I'm missing here or how to get this working since I have a project that's dependant on this.

mpetroff commented 1 year ago

I've never used Next.js, and, as stated in the readme, I don't provide support for such frameworks. This isn't an issue with Pannellum, and this issue tracker is not the appropriate forum for your question.