xy-map 1.0.60 → 1.1.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/demo.html +1 -0
- package/{src/image/marker.png → img/marker.42b5782a.png} +0 -0
- package/package.json +11 -47
- package/xy-map.common.js +67654 -0
- package/xy-map.css +1 -0
- package/xy-map.umd.js +67673 -0
- package/xy-map.umd.min.js +20 -0
- package/.browserslistrc +0 -3
- package/.eslintignore +0 -1
- package/.eslintrc.js +0 -29
- package/README.md +0 -36
- package/babel.config.js +0 -3
- package/jsconfig.json +0 -12
- package/lint-staged.config.js +0 -3
- package/public/draco/README.md +0 -32
- package/public/draco/draco_decoder.js +0 -52
- package/public/draco/draco_decoder.wasm +0 -0
- package/public/draco/draco_encoder.js +0 -33
- package/public/draco/draco_wasm_wrapper.js +0 -104
- package/public/draco/gltf/draco_decoder.js +0 -48
- package/public/draco/gltf/draco_decoder.wasm +0 -0
- package/public/draco/gltf/draco_encoder.js +0 -33
- package/public/draco/gltf/draco_wasm_wrapper.js +0 -104
- package/public/favicon.ico +0 -0
- package/public/img/MM.png +0 -0
- package/public/img/MM_D.png +0 -0
- package/public/img/MM_W.png +0 -0
- package/public/img/loading.gif +0 -0
- package/public/img/waternormals.jpg +0 -0
- package/public/index.html +0 -29
- package/src/App.vue +0 -13
- package/src/image/arrow_white.png +0 -0
- package/src/image/map_end.png +0 -0
- package/src/image/map_start.png +0 -0
- package/src/index.js +0 -154
- package/src/layers/Line.js +0 -203
- package/src/layers/Point.js +0 -384
- package/src/layers/Polygon.js +0 -119
- package/src/layers/Text.js +0 -53
- package/src/layers/circle.js +0 -148
- package/src/layers/circleAnimate.js +0 -147
- package/src/layers/index.js +0 -128
- package/src/layers/model copy.js +0 -314
- package/src/layers/model.js +0 -341
- package/src/layers/scene.js +0 -314
- package/src/layers/water.js +0 -239
- package/src/map.js +0 -486
- package/src/package/draw/index.vue +0 -239
- package/src/package/draw/line.vue +0 -172
- package/src/package/draw/point.vue +0 -152
- package/src/package/draw/polygon.vue +0 -172
- package/src/package/draw/shpFile.vue +0 -49
- package/src/package/draw/styles.js +0 -162
- package/src/package/mapFullScreen.vue +0 -105
- package/src/package/mapLoad.vue +0 -120
- package/src/package/mapMarker.vue +0 -50
- package/src/package/mapModel.vue +0 -69
- package/src/package/mapRain.vue +0 -110
- package/src/style/hoverHtml.css +0 -29
- package/src/style/main.scss +0 -186
- package/src/style/map.css +0 -7
- package/src/util/gaodeApi.js +0 -67
- package/src/util/mapEvent.js +0 -111
- package/src/util/mapHoverHtml.js +0 -59
- package/src/util/mapTools.js +0 -169
- package/src/util/measure-area.js +0 -215
- package/src/util/measure-distance.js +0 -600
- package/vue.config.js +0 -32
package/.browserslistrc
DELETED
package/.eslintignore
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/public
|
package/.eslintrc.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
root: true,
|
|
3
|
-
env: {
|
|
4
|
-
node: true,
|
|
5
|
-
},
|
|
6
|
-
extends: [
|
|
7
|
-
'plugin:vue/essential',
|
|
8
|
-
'eslint:recommended',
|
|
9
|
-
// 'plugin:prettier/recommended',
|
|
10
|
-
],
|
|
11
|
-
parserOptions: {
|
|
12
|
-
// parser: "@babel/eslint-parser",
|
|
13
|
-
},
|
|
14
|
-
rules: {
|
|
15
|
-
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', // 禁止 console,上线时要去掉
|
|
16
|
-
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', // 禁止 debugger,上线时要去掉
|
|
17
|
-
'no-alert': process.env.NODE_ENV === 'production' ? 'error' : 'off', // 禁止 alert,上线时要去掉
|
|
18
|
-
indent: [0, 2], // 缩进为2,tab缩进
|
|
19
|
-
semi: [2, 'never'], // 代码结尾处不需要添加分号;
|
|
20
|
-
quotes: [2, 'single'], // 强制使用一致的反勾号、双引号或单引号
|
|
21
|
-
// 'default-case': 2, // switch 语句必须包含 default
|
|
22
|
-
// 'consistent-this': [2, 'self'], // this 的别名规则,只允许 self
|
|
23
|
-
'no-unused-vars': 'off',
|
|
24
|
-
'no-undef': 0,
|
|
25
|
-
'no-useless-escape': 0,
|
|
26
|
-
'vue/comment-directive': 0,
|
|
27
|
-
'vue/multi-word-component-names': 0,
|
|
28
|
-
},
|
|
29
|
-
}
|
package/README.md
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# vue2-project
|
|
2
|
-
|
|
3
|
-
## Project setup
|
|
4
|
-
|
|
5
|
-
```
|
|
6
|
-
npm install
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
### Compiles and hot-reloads for development
|
|
10
|
-
|
|
11
|
-
```
|
|
12
|
-
npm run serve
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
### Compiles and minifies for production
|
|
16
|
-
|
|
17
|
-
```
|
|
18
|
-
npm run build
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
### Lints and fixes files
|
|
22
|
-
|
|
23
|
-
```
|
|
24
|
-
npm run lint
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
### Customize configuration
|
|
28
|
-
|
|
29
|
-
See [Configuration Reference](https://cli.vuejs.org/config/).
|
|
30
|
-
|
|
31
|
-
### 镜像设置
|
|
32
|
-
|
|
33
|
-
```
|
|
34
|
-
npm config set registry=http://registry.npmjs.org
|
|
35
|
-
|
|
36
|
-
```
|
package/babel.config.js
DELETED
package/jsconfig.json
DELETED
package/lint-staged.config.js
DELETED
package/public/draco/README.md
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# Draco 3D Data Compression
|
|
2
|
-
|
|
3
|
-
Draco is an open-source library for compressing and decompressing 3D geometric meshes and point clouds. It is intended to improve the storage and transmission of 3D graphics.
|
|
4
|
-
|
|
5
|
-
[Website](https://google.github.io/draco/) | [GitHub](https://github.com/google/draco)
|
|
6
|
-
|
|
7
|
-
## Contents
|
|
8
|
-
|
|
9
|
-
This folder contains three utilities:
|
|
10
|
-
|
|
11
|
-
* `draco_decoder.js` — Emscripten-compiled decoder, compatible with any modern browser.
|
|
12
|
-
* `draco_decoder.wasm` — WebAssembly decoder, compatible with newer browsers and devices.
|
|
13
|
-
* `draco_wasm_wrapper.js` — JavaScript wrapper for the WASM decoder.
|
|
14
|
-
|
|
15
|
-
Each file is provided in two variations:
|
|
16
|
-
|
|
17
|
-
* **Default:** Latest stable builds, tracking the project's [master branch](https://github.com/google/draco).
|
|
18
|
-
* **glTF:** Builds targeted by the [glTF mesh compression extension](https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_draco_mesh_compression), tracking the [corresponding Draco branch](https://github.com/google/draco/tree/gltf_2.0_draco_extension).
|
|
19
|
-
|
|
20
|
-
Either variation may be used with `THREE.DRACOLoader`:
|
|
21
|
-
|
|
22
|
-
```js
|
|
23
|
-
var dracoLoader = new THREE.DRACOLoader();
|
|
24
|
-
dracoLoader.setDecoderPath('path/to/decoders/');
|
|
25
|
-
dracoLoader.setDecoderConfig({type: 'js'}); // (Optional) Override detection of WASM support.
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
Further [documentation on GitHub](https://github.com/google/draco/tree/master/javascript/example#static-loading-javascript-decoder).
|
|
29
|
-
|
|
30
|
-
## License
|
|
31
|
-
|
|
32
|
-
[Apache License 2.0](https://github.com/google/draco/blob/master/LICENSE)
|