mirage2d 1.1.17 → 1.1.18
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/mirage2d.es.js
CHANGED
|
@@ -80308,6 +80308,9 @@ class baseGraphicLayer extends baseLayer {
|
|
|
80308
80308
|
let mStyle = MirageDefaultStyle.getStyle(feature2.getGeometry().getType(), { fillcolor: "rgba(255,255,255,0)", strokecolor: "rgba(255,255,255,0.1)", strokewidth: 1 });
|
|
80309
80309
|
feature2.setStyle(mStyle);
|
|
80310
80310
|
} else {
|
|
80311
|
+
mLevelColor.sort(function up(x2, y2) {
|
|
80312
|
+
return y2.maxnum - x2.maxnum;
|
|
80313
|
+
});
|
|
80311
80314
|
mLevelColor.forEach((element) => {
|
|
80312
80315
|
if (parseFloat(data2) > element.maxnum) {
|
|
80313
80316
|
let mStyle = MirageDefaultStyle.getStyle(feature2.getGeometry().getType(), { fillcolor: element.fillcolor, strokecolor: element.strokecolor, strokewidth: element.strokewidth });
|