"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.customMarker = void 0;
const customMarker = function () {
  let {
    base,
    content,
    contentBorder,
    font,
    fontBoldWeight,
    fontSizeAction
  } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  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