"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.customMarker = void 0;
const customMarker = function () {
  let _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
    base = _ref.base,
    content = _ref.content,
    contentBorder = _ref.contentBorder,
    font = _ref.font,
    fontBoldWeight = _ref.fontBoldWeight,
    fontSizeAction = _ref.fontSizeAction;
  return {
    icon: {
      // path: 'M -28,-14 h 56 v 28 h -56 z', // Square
      path: 'M -26, -14 a 2,2 0 0 1 2,-2 h 48 a 2,2 0 0 1 2,2 v 26 a 2,2 0 0 1 -2,2 h -48 a 2,2 0 0 1 -2,-2 z',
      // Rounded
      fillColor: base,
      fillOpacity: 1,
      strokeColor: contentBorder,
      strokeOpacity: 1,
      strokeWeight: 1
    },
    label: {
      color: content,
      fontFamily: font,
      fontSize: fontSizeAction && "".concat(fontSizeAction, "px"),
      fontWeight: fontBoldWeight
    }
  };
};
exports.customMarker = customMarker;
//# sourceMappingURL=customMarker.js.map