Last updated
Last updated
Choose or as your panorama viewer and include its script (it should be placed before vrmaker-sdk.js
).
If you want to use Krpano as your viewer, you can use the free version with watermark to demo. Otherwise, you need to purchase a Krpano license.
Then import vrmaker by es6 in your project.
Or use include it in your project:
Finally, initialize the VRMaker
object (don't forget do create a div
with an id
):
You can also hard-code the panorama Array. For example:
Clone and check it in examples / src folder.