JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q18808F
  • License MIT

Panorama 360 viewer module with hotspot

Package Exports

  • @mecenas/pan360-viewer

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@mecenas/pan360-viewer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

pan360-viewer

Since the three.js is already bundled with this npm package, do the following -

import { Pan360View, Pan360Conf, Hotspot } from 'pan360-viewer';

this.panView = new Pan360View(conf:Pan360Conf);

<div id="panorama-360-viewer"></div> on your html page.