@abi-software/flatmapvuer 1.12.0 → 1.12.1
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 +156 -150
- package/dist/flatmapvuer.umd.cjs +10 -6
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/FlatmapError.vue +1 -1
- package/src/components/FlatmapVuer.vue +5 -1
- package/src/components/legends/LegendItem.vue +2 -1
- package/src/services/flatmapLoader.js +1 -1
package/package.json
CHANGED
|
@@ -3034,7 +3034,11 @@ export default {
|
|
|
3034
3034
|
this.lastViewport = markRaw(this.mapImp.getState())
|
|
3035
3035
|
this.flatmapError = {};
|
|
3036
3036
|
this.flatmapError['title'] = 'GL context lost!'
|
|
3037
|
-
this.flatmapError['messages'] = [`
|
|
3037
|
+
this.flatmapError['messages'] = [`A display issue has occurred due
|
|
3038
|
+
to a limit on available WebGL contexts. You can restore the display
|
|
3039
|
+
using the Restore Context button. Please see the
|
|
3040
|
+
<a href="https://docs.sparc.science/docs/integrated-maps-viewer-overview#limit-on-available-webgl-contexts" target='_blank'>documentation</a>
|
|
3041
|
+
for more details.`]
|
|
3038
3042
|
this.flatmapError['button'] = {
|
|
3039
3043
|
text: 'Restore Context',
|
|
3040
3044
|
callback: () => {
|
|
@@ -70,6 +70,7 @@ export default {
|
|
|
70
70
|
const specifiedColour = this.item["color"] ? this.item["color"] : this.item["colour"];
|
|
71
71
|
let colour = specifiedColour ? specifiedColour : "transparent";
|
|
72
72
|
let borderColour = this.item.border ? this.item.border : "black";
|
|
73
|
+
let borderStyle = this.item.borderStyle ? this.item.borderStyle : "default";
|
|
73
74
|
if (specifiedColour && !this.item.border) {
|
|
74
75
|
borderColour = colour;
|
|
75
76
|
}
|
|
@@ -82,7 +83,7 @@ export default {
|
|
|
82
83
|
} else if (this.item[this.styleKey] === 'line') {
|
|
83
84
|
return {'color': colour};
|
|
84
85
|
} else {
|
|
85
|
-
return { 'background-color': colour, 'border-color': borderColour};
|
|
86
|
+
return { 'background-color': colour, 'border-color': borderColour, 'border-style': borderStyle};
|
|
86
87
|
}
|
|
87
88
|
},
|
|
88
89
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* a single source for the flatmap-viewer library import
|
|
3
3
|
*/
|
|
4
|
-
import * as flatmap from 'https://cdn.jsdelivr.net/npm/@abi-software/flatmap-viewer@4.4.
|
|
4
|
+
import * as flatmap from 'https://cdn.jsdelivr.net/npm/@abi-software/flatmap-viewer@4.4.3/+esm';
|
|
5
5
|
|
|
6
6
|
export default flatmap;
|