mpetroff / pannellum

Pannellum is a lightweight, free, and open source panorama viewer for the web.

Home Page:https://pannellum.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

pravunathCBD opened this issue · comments

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.

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.