gis-map-universal 0.8.8 → 0.8.9

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.
Files changed (2) hide show
  1. package/gismap.umd.js +3 -2
  2. package/package.json +1 -1
package/gismap.umd.js CHANGED
@@ -263503,7 +263503,7 @@ var ol_style_RegularShape = __webpack_require__("35d8");
263503
263503
  })
263504
263504
  }), new Style["default"]({
263505
263505
  text: new ol_style_Text["default"]({
263506
- font: "14px sans-serif",
263506
+ font: data.textFontSize || "14px sans-serif",
263507
263507
  fill: new Fill["default"]({
263508
263508
  color: data.textColor || "rgb(255, 255, 255)"
263509
263509
  }),
@@ -263662,7 +263662,8 @@ var ol_style_RegularShape = __webpack_require__("35d8");
263662
263662
  lineFeature.setStyle(new Style["default"]({
263663
263663
  stroke: new Stroke["default"]({
263664
263664
  color: lineItem.color,
263665
- width: lineItem.width
263665
+ width: lineItem.width,
263666
+ lineDash: lineItem.lineDash ? [10, 10] : undefined
263666
263667
  })
263667
263668
  }));
263668
263669
  lineFeatures.push(lineFeature);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gis-map-universal",
3
- "version": "0.8.8",
3
+ "version": "0.8.9",
4
4
  "description": "GIS通用组件",
5
5
  "main": "gismap.umd.js",
6
6
  "private": false,