@@ -139,6 +139,10 @@ export default defineConfig({
title: "Events 事件",
path: "/krpano/events",
},
+ {
+ title: "Layer 图层",
+ path: "/krpano/layer",
+ },
],
// more config: https://d.umijs.org/config
@@ -183,6 +183,7 @@ export default () => {
xml="./party.xml"
webvrUrl="./krpano/1.21/plugins/webvr.xml"
currentScene={currentScene}
+ littlePlanetIntro={true}
passQueryParameters={true}
>
<Autorotate enabled={autorotateEnable} />
@@ -0,0 +1,3 @@
+### API
+
+<API hideTitle exports='["Layer"]' src='@dage/krpano/index.d.ts'></API>
@@ -1,5 +1,12 @@
# @dage/krpano
+## 2.2.0
+### Minor Changes
+- 新增 Action 和 Layer 标签
+ 新增小行星视角
## 2.1.1
### Patch Changes
@@ -1,6 +1,6 @@
{
"name": "@dage/krpano",
- "version": "2.1.2",
+ "version": "2.2.0",
"description": "krpano sdk",
"module": "build/index.js",
"main": "build/index.js",