mapboxgl-tools 1.5.2 → 1.6.0
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/.eslintcache +1 -1
- package/README.md +3 -3
- package/dist/ui.es.js +83 -22
- package/dist/ui.umd.js +1 -1
- package/package.json +4 -3
package/.eslintcache
CHANGED
|
@@ -1 +1 @@
|
|
|
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:\\
|
|
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":1709259302150,"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":1,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":1,"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"],[],{"ruleId":"34","severity":2,"message":"35","line":102,"column":21,"nodeType":null,"messageId":"36","endLine":104,"endColumn":13,"fix":"37"},"prettier/prettier","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":"38","text":"39"},[5590,5717],"'http://wprd04.is.autonavi.com/appmaptile?lang=zh_cn&size=1&style=7&x={x}&y={y}&z={z}<ype=7'"]
|
package/README.md
CHANGED
|
@@ -169,7 +169,7 @@ export default {
|
|
|
169
169
|
| Property | Type | 默认值 | Description |
|
|
170
170
|
| ----- | ------------- | ------------- | ------------------------ |
|
|
171
171
|
| title | String | 拾取坐标 | 入口按钮title |
|
|
172
|
-
|
|
|
172
|
+
| onCopy | Function | | 复制完成坐标之后的回调 |
|
|
173
173
|
|
|
174
174
|
```js
|
|
175
175
|
<template>
|
|
@@ -296,11 +296,11 @@ export default {
|
|
|
296
296
|
```
|
|
297
297
|
|
|
298
298
|
### 8.PositionControl
|
|
299
|
-
>
|
|
299
|
+
> mapboxgl定位撒点控制器
|
|
300
300
|
|
|
301
301
|
| Property | Type | 默认值 | Description |
|
|
302
302
|
| ----- | ------------- | ------------- | ------------------------ |
|
|
303
|
-
| title | String |
|
|
303
|
+
| title | String | 定位撒点 | 入口按钮title |
|
|
304
304
|
| layout | String | { icon-size: 0.2, icon-anchor: 'bottom', icon-image: ['case', ['get', 'current'], IMAGE_POSCONTROL_ACT, IMAGE_POSCONTROL_NOR ] } | mapboxgl-layout, 当前的定位点current属性为true |
|
|
305
305
|
| paint | String | {} | mapboxgl-paint |
|
|
306
306
|
|