mapboxgl-tools 1.7.1 → 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/package.json +1 -1
- 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
|
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","G:\\wbiokr\\mapboxgl-ui\\src\\constant.js":"7"},{"size":207,"mtime":1705629488877,"results":"8","hashOfConfig":"9"},{"size":418,"mtime":1705629382904,"results":"10","hashOfConfig":"9"},{"size":510,"mtime":1705915018041,"results":"11","hashOfConfig":"9"},{"size":207,"mtime":1705629488877,"results":"12","hashOfConfig":"13"},{"size":418,"mtime":1705629382904,"results":"14","hashOfConfig":"13"},{"size":6919,"mtime":1709884163895,"results":"15","hashOfConfig":"13"},{"size":11741,"mtime":1709866154531,"results":"16","hashOfConfig":"13"},{"filePath":"17","messages":"18","suppressedMessages":"19","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"15ou60z",{"filePath":"20","messages":"21","suppressedMessages":"22","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"23","messages":"24","suppressedMessages":"25","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"26","messages":"27","suppressedMessages":"28","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"7pvglb",{"filePath":"29","messages":"30","suppressedMessages":"31","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"32","messages":"33","suppressedMessages":"34","errorCount":2,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":2,"fixableWarningCount":1,"source":null},{"filePath":"35","messages":"36","suppressedMessages":"37","errorCount":14,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":14,"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",["38","39","40"],[],"G:\\wbiokr\\mapboxgl-ui\\src\\constant.js",["41","42","43","44","45","46","47","48","49","50","51","52","53","54"],[],{"ruleId":"55","severity":2,"message":"56","line":8,"column":20,"nodeType":null,"messageId":"57","endLine":10,"endColumn":9,"fix":"58"},{"ruleId":"59","severity":1,"message":"60","line":8,"column":60,"nodeType":"61","endLine":8,"endColumn":71,"fix":"62"},{"ruleId":"55","severity":2,"message":"63","line":110,"column":21,"nodeType":null,"messageId":"57","endLine":112,"endColumn":13,"fix":"64"},{"ruleId":"55","severity":2,"message":"65","line":16,"column":125,"nodeType":null,"messageId":"66","endLine":16,"endColumn":125,"fix":"67"},{"ruleId":"55","severity":2,"message":"68","line":19,"column":30,"nodeType":null,"messageId":"69","endLine":20,"endColumn":17,"fix":"70"},{"ruleId":"55","severity":2,"message":"65","line":32,"column":221,"nodeType":null,"messageId":"66","endLine":32,"endColumn":221,"fix":"71"},{"ruleId":"55","severity":2,"message":"65","line":33,"column":22,"nodeType":null,"messageId":"66","endLine":33,"endColumn":22,"fix":"72"},{"ruleId":"55","severity":2,"message":"68","line":35,"column":30,"nodeType":null,"messageId":"69","endLine":36,"endColumn":17,"fix":"73"},{"ruleId":"55","severity":2,"message":"65","line":48,"column":252,"nodeType":null,"messageId":"66","endLine":48,"endColumn":252,"fix":"74"},{"ruleId":"55","severity":2,"message":"65","line":49,"column":22,"nodeType":null,"messageId":"66","endLine":49,"endColumn":22,"fix":"75"},{"ruleId":"55","severity":2,"message":"68","line":51,"column":30,"nodeType":null,"messageId":"69","endLine":52,"endColumn":17,"fix":"76"},{"ruleId":"55","severity":2,"message":"65","line":54,"column":10,"nodeType":null,"messageId":"66","endLine":54,"endColumn":10,"fix":"77"},{"ruleId":"55","severity":2,"message":"78","line":71,"column":29,"nodeType":null,"messageId":"57","endLine":71,"endColumn":256,"fix":"79"},{"ruleId":"55","severity":2,"message":"65","line":85,"column":22,"nodeType":null,"messageId":"66","endLine":85,"endColumn":22,"fix":"80"},{"ruleId":"55","severity":2,"message":"65","line":88,"column":10,"nodeType":null,"messageId":"66","endLine":88,"endColumn":10,"fix":"81"},{"ruleId":"55","severity":2,"message":"65","line":89,"column":6,"nodeType":null,"messageId":"66","endLine":89,"endColumn":6,"fix":"82"},{"ruleId":"55","severity":2,"message":"83","line":90,"column":2,"nodeType":null,"messageId":"66","endLine":90,"endColumn":2,"fix":"84"},"prettier/prettier","Replace `'p-f-c·w-100·h-100·z-100·bg-color-·f-c'·id='hahaha'>␍⏎␍⏎········` with `\"p-f-c·w-100·h-100·z-100·bg-color-·f-c\"·id=\"hahaha\">`","replace",{"range":"85","text":"86"},"vue/attributes-order","Attribute \"id\" should go before \"class\".","VAttribute",{"range":"87","text":"88"},"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'`",{"range":"89","text":"90"},"Insert `,`","insert",{"range":"91","text":"92"},"Delete `␍⏎················`","delete",{"range":"93","text":"94"},{"range":"95","text":"92"},{"range":"96","text":"92"},{"range":"97","text":"94"},{"range":"98","text":"92"},{"range":"99","text":"92"},{"range":"100","text":"94"},{"range":"101","text":"92"},"Replace `'http://ft-geos2.sf-express.com/geoserver/spring/wms?tiled=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image/png&TRANSPARENT=true&LAYERS=spring:greatchina_build&SRS=EPSG:4326&bbox={bbox-epsg-3857}&WIDTH=256&HEIGHT=256'` with `␍⏎························'http://ft-geos2.sf-express.com/geoserver/spring/wms?tiled=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image/png&TRANSPARENT=true&LAYERS=spring:greatchina_build&SRS=EPSG:4326&bbox={bbox-epsg-3857}&WIDTH=256&HEIGHT=256',␍⏎····················`",{"range":"102","text":"103"},{"range":"104","text":"92"},{"range":"105","text":"92"},{"range":"106","text":"92"},"Insert `␍⏎`",{"range":"107","text":"108"},[422,486],"\"p-f-c w-100 h-100 z-100 bg-color- f-c\" id=\"hahaha\">",[416,473],"id='hahaha' class='p-f-c w-100 h-100 z-100 bg-color- f-c'",[5830,5957],"'http://wprd04.is.autonavi.com/appmaptile?lang=zh_cn&size=1&style=7&x={x}&y={y}&z={z}<ype=7'",[517,517],",",[592,610],"",[1142,1142],[1165,1165],[1216,1234],[1802,1802],[1825,1825],[1876,1894],[1923,1923],[2363,2590],"\r\n 'http://ft-geos2.sf-express.com/geoserver/spring/wms?tiled=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image/png&TRANSPARENT=true&LAYERS=spring:greatchina_build&SRS=EPSG:4326&bbox={bbox-epsg-3857}&WIDTH=256&HEIGHT=256',\r\n ",[3204,3204],[3251,3251],[3258,3258],[3261,3261],"\r\n"]
|
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
|
-
}
|