import { MapsTrafimageFilter } from "./constants";
const getTrafimageFilter = function (stylelayer) {
  let filterAttribute = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : MapsTrafimageFilter;
  return (stylelayer === null || stylelayer === void 0 ? void 0 : stylelayer.metadata) && stylelayer.metadata[filterAttribute];
};
export default getTrafimageFilter;
//# sourceMappingURL=getTrafimageFilter.js.map