@vtx/map 1.2.4 → 1.2.6

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.
@@ -3166,7 +3166,7 @@ var BaiduMap = /*#__PURE__*/function (_React$Component) {
3166
3166
  var poi = new BMap.Point(params.position[0], params.position[1]);
3167
3167
  t.popupWindow = new BMapLib.InfoBox(t.state.gis, params.content, {
3168
3168
  boxStyle: params.boxStyle,
3169
- closeIconMargin: "1px 1px 0 0",
3169
+ closeIconMargin: params.closeIconMargin || "1px 1px 0 0",
3170
3170
  enableAutoPan: true,
3171
3171
  align: 1,
3172
3172
  closeIconUrl: params.closeIconUrl || "".concat(_default2["default"].mapServerURL, "/images/close.png")