@abi-software/flatmapvuer 1.9.3-beta.6 → 1.10.0-beta.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/dist/flatmapvuer.js +4971 -98096
- package/dist/flatmapvuer.umd.cjs +10 -2368
- package/dist/style.css +1 -1
- package/package.json +2 -3
- package/src/components/FlatmapVuer.vue +3 -3
- package/src/components/MultiFlatmapVuer.vue +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abi-software/flatmapvuer",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0-beta.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist/*",
|
|
@@ -43,8 +43,7 @@
|
|
|
43
43
|
"./src/*": "./src/*"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@abi-software/
|
|
47
|
-
"@abi-software/map-utilities": "^1.5.0",
|
|
46
|
+
"@abi-software/map-utilities": "^1.6.0-beta.0",
|
|
48
47
|
"@abi-software/sparc-annotation": "0.3.2",
|
|
49
48
|
"@abi-software/svg-sprite": "^1.0.1",
|
|
50
49
|
"@element-plus/icons-vue": "^2.3.1",
|
|
@@ -636,7 +636,7 @@ import {
|
|
|
636
636
|
import { capitalise } from './utilities.js'
|
|
637
637
|
import yellowstar from '../icons/yellowstar'
|
|
638
638
|
import ResizeSensor from 'css-element-queries/src/ResizeSensor'
|
|
639
|
-
import * as flatmap from '
|
|
639
|
+
import * as flatmap from 'https://cdn.jsdelivr.net/npm/@abi-software/flatmap-viewer@4.2.4/+esm'
|
|
640
640
|
import { AnnotationService } from '@abi-software/sparc-annotation'
|
|
641
641
|
import { mapState } from 'pinia'
|
|
642
642
|
import { useMainStore } from '@/store/index'
|
|
@@ -1170,7 +1170,7 @@ export default {
|
|
|
1170
1170
|
setColour: function (flag) {
|
|
1171
1171
|
this.colourRadio = flag
|
|
1172
1172
|
if (this.mapImp) {
|
|
1173
|
-
this.mapImp.setPaint({
|
|
1173
|
+
this.mapImp.setPaint({ coloured: flag, outlined: this.outlinesRadio })
|
|
1174
1174
|
}
|
|
1175
1175
|
},
|
|
1176
1176
|
/**
|
|
@@ -1182,7 +1182,7 @@ export default {
|
|
|
1182
1182
|
setOutlines: function (flag) {
|
|
1183
1183
|
this.outlinesRadio = flag
|
|
1184
1184
|
if (this.mapImp) {
|
|
1185
|
-
this.mapImp.setPaint({
|
|
1185
|
+
this.mapImp.setPaint({ coloured: this.colourRadio, outlined: flag })
|
|
1186
1186
|
}
|
|
1187
1187
|
},
|
|
1188
1188
|
setInitMapState: function () {
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
import { markRaw } from 'vue'
|
|
100
100
|
import EventBus from './EventBus'
|
|
101
101
|
import FlatmapVuer from './FlatmapVuer.vue'
|
|
102
|
-
import * as flatmap from '
|
|
102
|
+
import * as flatmap from 'https://cdn.jsdelivr.net/npm/@abi-software/flatmap-viewer@4.2.4/+esm'
|
|
103
103
|
import {
|
|
104
104
|
ElCol as Col,
|
|
105
105
|
ElOption as Option,
|