@anov/gis 1.6.1 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -12
- package/dist/index.js +1 -1
- package/package.json +9 -6
package/README.md
CHANGED
|
@@ -87,7 +87,7 @@ import ANOVGIS from "@anov/gis";
|
|
|
87
87
|
##### 2.1 vue-cli 技术栈时 的项目配置修改
|
|
88
88
|
工程模板下载: [anov-gis-vue](https://github.com/948033145/anov-gis-vue2)
|
|
89
89
|
|
|
90
|
-
工程模板压缩包:[anov-gis-vue2.x](http://123.56.67.147:8888/cesiumdemo/data/mytest/datas/anov-gis-vue2.zip)
|
|
90
|
+
<!-- 工程模板压缩包:[anov-gis-vue2.x](http://123.56.67.147:8888/cesiumdemo/data/mytest/datas/anov-gis-vue2.zip) -->
|
|
91
91
|
```javascript
|
|
92
92
|
const { defineConfig } = require('@vue/cli-service')
|
|
93
93
|
const CopywebpackPlugin = require('copy-webpack-plugin');
|
|
@@ -115,7 +115,7 @@ module.exports = defineConfig({
|
|
|
115
115
|
##### 2.2 vue-vite 技术栈时 的项目配置修改
|
|
116
116
|
工程模板源码下载: [anov-gis-vite](https://github.com/948033145/anov-gis-vite)
|
|
117
117
|
|
|
118
|
-
工程模板压缩包:[anov-gis-vite](http://123.56.67.147:8888/cesiumdemo/data/mytest/datas/anov-gis-vite.zip)
|
|
118
|
+
<!-- 工程模板压缩包:[anov-gis-vite](http://123.56.67.147:8888/cesiumdemo/data/mytest/datas/anov-gis-vite.zip) -->
|
|
119
119
|
```javascript
|
|
120
120
|
import { fileURLToPath, URL } from 'node:url'
|
|
121
121
|
import { defineConfig } from 'vite'
|
|
@@ -142,16 +142,17 @@ export default defineConfig({
|
|
|
142
142
|
```
|
|
143
143
|
## 3、快速上手
|
|
144
144
|
```javascript
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
145
|
+
window.viewer = new ANOVGIS.Viewer("cesiumContainer", {
|
|
146
|
+
geocoderType: ANOVGIS.GeocoderType.TIANDITU,
|
|
147
|
+
vrButton: false,
|
|
148
|
+
baseLayerPicker: true,
|
|
149
|
+
fullscreenButton: true,
|
|
150
|
+
homeButton: true,
|
|
151
|
+
sceneModePicker: true,
|
|
152
|
+
navigationHelpButton: true,
|
|
153
|
+
showMapInfo: true,
|
|
154
|
+
drillPick: false,
|
|
155
|
+
});
|
|
155
156
|
```
|
|
156
157
|
<img src="http://123.56.67.147:8888/cesiumdemo/data/mytest/datas/anov-gis/ksss.png" />
|
|
157
158
|
|