@@ -30408,7 +30408,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
3040830408
3040930409/**
3041030410 * @class L.supermap.widgets.searchViewModel
30411- * @classdesc 查询微件功能类 。
30411+ * @classdesc 图层查询微件功能类 。
3041230412 * @category Widgets Search
3041330413 * @param {Object} options - 可选参
3041430414 * @param {Object} [options.cityGeoCodingConfig] - 城市地址匹配服务配置,包括:{addressUrl:"",key:""} 默认为 online 地址匹配服务,与 options.cityConfig 对应。
@@ -63663,21 +63663,22 @@ var DistributedAnalysisView = exports.DistributedAnalysisView = _leaflet2["defau
6366363663 // 分析范围 & 网格大小 & 搜索半径 & 面积单位
6366463664 // 分析范围
6366563665 var inputOptions = [{
63666- 'spanName': '分析范围' ,
63666+ 'spanName': _iclientCommon.Lang.i18n('text_label_queryRange') ,
6366763667 'value': ''
6366863668 }];
6366963669 for (var _i in inputOptions) {
6367063670 this._creatInputBox(inputOptions[_i], analysisSelectControl);
6367163671 }
6367263672 var queryRangeInput = analysisSelectControl.children[3].children[1];
63673- queryRangeInput.setAttribute('placeholder', '默认为输入数据的全幅范围。范例:[-74.050,40.650,-73.850,40.850]');
63674- queryRangeInput.title = '默认为输入数据的全幅范围。范例:[-74.050,40.650,-73.850,40.850]';
63673+ queryRangeInput.setAttribute('placeholder', _iclientCommon.Lang.i18n('text_label_queryRangeTips'));
63674+ queryRangeInput.title = _iclientCommon.Lang.i18n('text_label_queryRangeTips');
63675+
6367563676 // 网格大小
6367663677 var gridSizeUnitSelectOptions = {
6367763678 'optionsArr': ['Meter', 'Kilometer', 'Yard', 'Foot', 'Mile']
6367863679 };
6367963680 var gridSizeOptions = {
63680- 'labelName': '网格大小' ,
63681+ 'labelName': _iclientCommon.Lang.i18n('text_label_gridSizeInMeters') ,
6368163682 'selectOptions': gridSizeUnitSelectOptions
6368263683 };
6368363684 var gridSizeContainer = this._creatUnitSelectBox(gridSizeOptions, analysisSelectControl);
@@ -63690,7 +63691,7 @@ var DistributedAnalysisView = exports.DistributedAnalysisView = _leaflet2["defau
6369063691 'optionsArr': ['Meter', 'Kilometer', 'Yard', 'Foot', 'Mile']
6369163692 };
6369263693 var searchRadiusOptions = {
63693- 'labelName': '搜索半径' ,
63694+ 'labelName': _iclientCommon.Lang.i18n('text_label_searchRadius') ,
6369463695 'selectOptions': searchRadiusUnitSelectOptions
6369563696 };
6369663697 var searchRadiusContainer = this._creatUnitSelectBox(searchRadiusOptions, analysisSelectControl);
@@ -63699,7 +63700,7 @@ var DistributedAnalysisView = exports.DistributedAnalysisView = _leaflet2["defau
6369963700 var searchRadiusSelectName = searchRadiusContainer.children[1].children[1].children[0].children[0].children[0];
6370063701 // 面积单位
6370163702 var areaUnitSelectOptions = {
63702- 'labelName': '面积单位' ,
63703+ 'labelName': _iclientCommon.Lang.i18n('text_label_areaUnit') ,
6370363704 'optionsArr': ['SquareMile', 'SquareMeter', 'Hectare', 'Acre', 'SquareFoot', 'SquareYard']
6370463705 };
6370563706 var areaUnitSelectTool = new _iclientCommon.Select(areaUnitSelectOptions).getElement();
@@ -65135,9 +65136,9 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
6513565136
6513665137/**
6513765138 * @class L.supermap.widgets.search
65138- * @classdesc 查询微件
65139+ * @classdesc 图层查询微件。
6513965140 * @category Widgets Search
65140- * @param {Object} options - 可选参数
65141+ * @param {Object} options - 可选参数。
6514165142 * @param {string} [options.position='topright'] - 控件位置,继承自 leaflet control。
6514265143 * @param {string} [options.addressUrl] - 配置地址匹配服务。
6514365144 * @param {Object|Array.<string>} [options.cityConfig] - 城市地址匹配配置,默认为全国城市,与 options.cityGeoCodingConfig 支持匹配的服务对应;
@@ -79999,8 +80000,10 @@ var zh = {
7999980000 'text_label_meshType': '网格面类型',
8000080001 'text_option_notSet': '未设置',
8000180002 'text_label_weightField': '权重字段',
80002- 'text_label_gridSizeInMeters': '网格大小(单位为:米) ',
80003+ 'text_label_gridSizeInMeters': '网格大小',
8000380004 'text_label_searchRadius': '搜索半径',
80005+ 'text_label_queryRange': '分析范围',
80006+ 'text_label_areaUnit': '面积单位',
8000480007 'text_option_equidistantSegmentation': '等距离分段',
8000580008 'text_option_logarithm': '对数',
8000680009 'text_option_equalCountingSegment': '等计数分段',
@@ -80033,6 +80036,7 @@ var zh = {
8003380036 'text_label_color': '颜色',
8003480037 'text_label_buffer': '[缓冲区]',
8003580038 'text_label_isolines': '[等值线]',
80039+ 'text_label_queryRangeTips': '默认为输入数据的全幅范围。范例:-74.050,40.650,-73.850,40.850',
8003680040
8003780041 "btn_analyze": "分析",
8003880042 "btn_analyzing": "分析中",
@@ -80097,8 +80101,10 @@ var en = {
8009780101 'text_label_meshType': 'Mesh type',
8009880102 'text_option_notSet': 'Not set',
8009980103 'text_label_weightField': 'Weight field',
80100- 'text_label_gridSizeInMeters': 'Grid size (in meters) ',
80104+ 'text_label_gridSizeInMeters': 'Grid size',
8010180105 'text_label_searchRadius': 'Search radius',
80106+ 'text_label_queryRange': 'Scope of analysis',
80107+ 'text_label_areaUnit': 'Area unit',
8010280108 'text_option_equidistantSegmentation': 'Equidistant segmentation',
8010380109 'text_option_logarithm': 'Logarithm',
8010480110 'text_option_equalCountingSegment': 'Equal counting segment',
@@ -80131,6 +80137,7 @@ var en = {
8013180137 'text_label_color': 'Color',
8013280138 'text_label_buffer': '[Buffer]',
8013380139 'text_label_isolines': '[Isolines]',
80140+ 'text_label_queryRangeTips': 'The default is the full range of input data. Example: -74.050, 40.650, -73.850, 40.850',
8013480141
8013580142 "btn_analyze": "Analyze",
8013680143 "btn_analyzing": "Analyzing",
0 commit comments