"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getImageLayerNameByCode = void 0;
var list = [{
  name: '排水-管点图层',
  code: 'point',
  imageLayerName: 'WaterDrainPointLayer'
}, {
  name: '排水-管线图层',
  code: 'line',
  imageLayerName: 'WaterDrainLineLayer'
}, {
  name: '排水-窨井图层',
  code: 'manhole',
  imageLayerName: 'WaterDrainManholeLayer'
}, {
  name: '排水雨水-管点图层',
  code: '',
  imageLayerName: 'RainPointLayer'
}, {
  name: '排水雨水-管线图层',
  code: '',
  imageLayerName: 'RainLineLayer'
}, {
  name: '排水雨水-窨井图层',
  code: '',
  imageLayerName: 'RainManholeLayer'
}, {
  name: '排水污水-管点图层',
  code: '',
  imageLayerName: 'SewagePointLayer'
}, {
  name: '排水污水-管线图层',
  code: '',
  imageLayerName: 'SewageLineLayer'
}, {
  name: '排水污水-窨井图层',
  code: '',
  imageLayerName: 'SewageManholeLayer'
}, {
  name: '排水合流-管点图层',
  code: '',
  imageLayerName: 'ConfluencePointLayer'
}, {
  name: '排水合流-管线图层',
  code: '',
  imageLayerName: 'ConfluenceLineLayer'
}, {
  name: '排水合流-窨井图层',
  code: '',
  imageLayerName: 'ConfluenceManholeLayer'
}, {
  name: '供水-管点图层',
  code: 'water_supply_point',
  imageLayerName: 'WaterSupplyPointLayer'
}, {
  name: '供水-管线图层',
  code: 'water_supply_line',
  imageLayerName: 'WaterSupplyLineLayer'
}, {
  code: 'raw_water_point',
  name: '原水-管点图层',
  imageLayerName: 'RawWaterPointLayer'
}, {
  code: 'raw_water_line',
  name: '原水-管线图层',
  imageLayerName: 'RawWaterLineLayer'
}];
var getImageLayerNameByCode = exports.getImageLayerNameByCode = function getImageLayerNameByCode(code) {
  var _list$filter$0$imageL, _list$filter;
  return (_list$filter$0$imageL = (_list$filter = list.filter(function (item) {
    return item.code == code;
  })) === null || _list$filter === void 0 || (_list$filter = _list$filter[0]) === null || _list$filter === void 0 ? void 0 : _list$filter.imageLayerName) !== null && _list$filter$0$imageL !== void 0 ? _list$filter$0$imageL : 'FacilityLayer';
};
//# sourceMappingURL=config.js.map
