mapboxgl-tools 1.6.3 → 1.7.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 +134 -2
- package/dist/imgs/Geoserver.png +0 -0
- package/dist/imgs/MeasureAreaControl.png +0 -0
- package/dist/imgs/MeasureDistanceControl.png +0 -0
- package/dist/imgs/MouseRectControl.png +0 -0
- package/dist/imgs/PickCoordControl.png +0 -0
- package/dist/imgs/PositionControl.png +0 -0
- package/dist/imgs/contextmenu.png +0 -0
- package/dist/imgs/layerTreeControl.png +0 -0
- package/dist/ui.es.js +718 -154
- package/dist/ui.umd.js +1 -1
- package/package.json +3 -2
- package/public/imgs/Geoserver.png +0 -0
- package/public/imgs/MeasureAreaControl.png +0 -0
- package/public/imgs/MeasureDistanceControl.png +0 -0
- package/public/imgs/MouseRectControl.png +0 -0
- package/public/imgs/PickCoordControl.png +0 -0
- package/public/imgs/PositionControl.png +0 -0
- package/public/imgs/contextmenu.png +0 -0
- package/public/imgs/layerTreeControl.png +0 -0
- package/.editorconfig +0 -14
- package/.env +0 -8
- package/.env.development +0 -23
- package/.eslintcache +0 -1
- package/.eslintrc.cjs +0 -24
- package/.prettierrc.json +0 -23
- package/index.html +0 -69
- package/postcss.config.cjs +0 -5
- package/publish.sh +0 -26
- package/vite.config.js +0 -123
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"瓦片",
|
|
10
10
|
"control"
|
|
11
11
|
],
|
|
12
|
-
"version": "1.
|
|
12
|
+
"version": "1.7.2",
|
|
13
13
|
"private": false,
|
|
14
14
|
"type": "module",
|
|
15
15
|
"author": "Wbiokr",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@turf/turf": "^6.5.0",
|
|
30
|
-
"@wbiokr/css-class": "^2.0.
|
|
30
|
+
"@wbiokr/css-class": "^2.0.7",
|
|
31
31
|
"@wbiokr/indexdb": "^0.0.1-beta",
|
|
32
32
|
"@wbiokr/keybinding": "^1.1.3",
|
|
33
33
|
"ant-design-vue": "^1.7.8",
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"eslint-config-prettier": "^8.5.0",
|
|
43
43
|
"eslint-plugin-prettier": "^4.0.0",
|
|
44
44
|
"eslint-plugin-vue": "^8.7.1",
|
|
45
|
+
"lodash.debounce": "^4.0.8",
|
|
45
46
|
"prettier": "^2.6.2",
|
|
46
47
|
"stylus": "^0.62.0",
|
|
47
48
|
"unplugin-vue-components": "^0.26.0",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/.editorconfig
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
# http://editorconfig.org
|
|
2
|
-
root = true
|
|
3
|
-
|
|
4
|
-
[*]
|
|
5
|
-
charset = utf-8
|
|
6
|
-
indent_style = space
|
|
7
|
-
indent_size = 4
|
|
8
|
-
end_of_line = auto
|
|
9
|
-
insert_final_newline = true
|
|
10
|
-
trim_trailing_whitespace = true
|
|
11
|
-
|
|
12
|
-
[*.md]
|
|
13
|
-
insert_final_newline = false
|
|
14
|
-
trim_trailing_whitespace = false
|
package/.env
DELETED
package/.env.development
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# just a flag
|
|
2
|
-
ENV = 'development'
|
|
3
|
-
|
|
4
|
-
# 代理的后端的路径
|
|
5
|
-
VITE_APP_DEV_PROXY_URL='http://localhost:9070'
|
|
6
|
-
VITE_APP_PUBLIC_STATIC_PATH=''
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
# 前端端口
|
|
10
|
-
VITE_APP_PORT=7000
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
# 数管平台地址
|
|
14
|
-
VITE_APP_STDMS_URL='http://10.233.32.155:8585'
|
|
15
|
-
VITE_APP_STDMS_TREE_ID=20
|
|
16
|
-
VITE_APP_STDMS_ENV='local' # 可选值: gov | local
|
|
17
|
-
VITE_APP_STDMS_DATACENTER_URL='http://10.233.32.155:8585/stdms/service/local/directory-content/tree?rootId=20'
|
|
18
|
-
|
|
19
|
-
# sf3d地址
|
|
20
|
-
VITE_APP_SF3D_URL='http://10.99.24.11:8091/sf3d-ba/'
|
|
21
|
-
|
|
22
|
-
# search地址
|
|
23
|
-
VITE_APP_SEARCH_SERVICE_URL='http://10.233.32.39:8677'
|
package/.eslintcache
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"G:\\fengtu\\admin-ui\\src\\main.js":"1","G:\\fengtu\\admin-ui\\src\\App.vue":"2","G:\\fengtu\\admin-ui\\src\\Helloworld.vue":"3","G:\\wbiokr\\mapboxgl-ui\\src\\main.js":"4","G:\\wbiokr\\mapboxgl-ui\\src\\App.vue":"5","G:\\wbiokr\\mapboxgl-ui\\src\\Helloworld.vue":"6"},{"size":207,"mtime":1705629488877,"results":"7","hashOfConfig":"8"},{"size":418,"mtime":1705629382904,"results":"9","hashOfConfig":"8"},{"size":510,"mtime":1705915018041,"results":"10","hashOfConfig":"8"},{"size":207,"mtime":1705629488877,"results":"11","hashOfConfig":"12"},{"size":418,"mtime":1705629382904,"results":"13","hashOfConfig":"12"},{"size":6471,"mtime":1709621417193,"results":"14","hashOfConfig":"12"},{"filePath":"15","messages":"16","suppressedMessages":"17","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"15ou60z",{"filePath":"18","messages":"19","suppressedMessages":"20","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"21","messages":"22","suppressedMessages":"23","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"24","messages":"25","suppressedMessages":"26","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"7pvglb",{"filePath":"27","messages":"28","suppressedMessages":"29","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"30","messages":"31","suppressedMessages":"32","errorCount":2,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":2,"fixableWarningCount":0,"source":null},"G:\\fengtu\\admin-ui\\src\\main.js",[],[],"G:\\fengtu\\admin-ui\\src\\App.vue",[],[],"G:\\fengtu\\admin-ui\\src\\Helloworld.vue",[],[],"G:\\wbiokr\\mapboxgl-ui\\src\\main.js",[],[],"G:\\wbiokr\\mapboxgl-ui\\src\\App.vue",[],[],"G:\\wbiokr\\mapboxgl-ui\\src\\Helloworld.vue",["33","34"],[],{"ruleId":"35","severity":2,"message":"36","line":28,"column":1,"nodeType":null,"messageId":"37","endLine":29,"endColumn":1,"fix":"38"},{"ruleId":"35","severity":2,"message":"39","line":107,"column":21,"nodeType":null,"messageId":"40","endLine":109,"endColumn":13,"fix":"41"},"prettier/prettier","Delete `␍⏎`","delete",{"range":"42","text":"43"},"Replace `␍⏎················'http://wprd04.is.autonavi.com/appmaptile?lang=zh_cn&size=1&style=7&x={x}&y={y}&z={z}<ype=7',␍⏎············` with `'http://wprd04.is.autonavi.com/appmaptile?lang=zh_cn&size=1&style=7&x={x}&y={y}&z={z}<ype=7'`","replace",{"range":"44","text":"45"},[837,839],"",[5677,5804],"'http://wprd04.is.autonavi.com/appmaptile?lang=zh_cn&size=1&style=7&x={x}&y={y}&z={z}<ype=7'"]
|
package/.eslintrc.cjs
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
root: true,
|
|
3
|
-
env: {
|
|
4
|
-
node: true,
|
|
5
|
-
},
|
|
6
|
-
extends: ['plugin:vue/recommended', 'plugin:prettier/recommended'],
|
|
7
|
-
plugins: ['vue', 'prettier'],
|
|
8
|
-
// add your custom rules here
|
|
9
|
-
rules: {
|
|
10
|
-
indent: 'off',
|
|
11
|
-
// allow async-await
|
|
12
|
-
'generator-star-spacing': 'off',
|
|
13
|
-
// allow debugger during development
|
|
14
|
-
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
15
|
-
'prettier/prettier': ['error', { tabWidth: 4 }],
|
|
16
|
-
'vue/no-unused-vars': 'warn',
|
|
17
|
-
'vue/max-attributes-per-line': 'off',
|
|
18
|
-
'vue/singleline-html-element-content-newline': 0,
|
|
19
|
-
'vue/html-self-closing': 0,
|
|
20
|
-
'vue/attribute-hyphenation': 0,
|
|
21
|
-
'vue/multi-word-component-names': 'off',
|
|
22
|
-
},
|
|
23
|
-
parser: 'vue-eslint-parser',
|
|
24
|
-
}
|
package/.prettierrc.json
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"?printWidth": "每行最长长度",
|
|
3
|
-
"printWidth": 120,
|
|
4
|
-
"?tabWidth": "缩进",
|
|
5
|
-
"tabWidth": 4,
|
|
6
|
-
"?semi": "是否加分号",
|
|
7
|
-
"semi": false,
|
|
8
|
-
"?singleQuote": "格式化以单引号为主",
|
|
9
|
-
"singleQuote": true,
|
|
10
|
-
"?trailingComma": "最后一个对象加逗号 <es5|none|all> es5:在ES5中有效的尾部逗号(对象、数组等)",
|
|
11
|
-
"trailingComma": "all",
|
|
12
|
-
"?bracketSpacing": "对象,数组加空格",
|
|
13
|
-
"bracketSpacing": true,
|
|
14
|
-
"?jsxBracketSameLine": "jsx > 是否另起一行",
|
|
15
|
-
"jsxBracketSameLine": false,
|
|
16
|
-
"?arrowParens": "(x) => {} 是否要有小括号 <always|avoid> always:总是包括括号 avoid:可能时省略括号",
|
|
17
|
-
"arrowParens": "always",
|
|
18
|
-
"?requirePragma": "是否要注释来决定是否格式化代码",
|
|
19
|
-
"requirePragma": false,
|
|
20
|
-
"?proseWrap": "默认情况下,Prettier 将按原样包含 markdown 文本,因为某些服务使用对行敏感的渲染器,例如 GitHub 注释和 BitBucket。 <always|never|preserve> preserve:原样不变 never:不要换行 always:如果超过打印宽度,请换行",
|
|
21
|
-
"proseWrap": "preserve",
|
|
22
|
-
"endOfLine": "auto"
|
|
23
|
-
}
|