* @private * @function WebMap.prototype.createRankSymbolLayer * @description 创建等级符号图层的source * @param {Object} parameters - 图层信息 * @param {Array} features - 添加到图层上的features * @param {string} featureType - feature的类型 * @returns {Object} styleGroups
(parameters, features, featureType)
| 4260 | * @returns {Object} styleGroups |
| 4261 | */ |
| 4262 | async createRankStyleSource(parameters, features, featureType) { |
| 4263 | let themeSetting = parameters.themeSetting, |
| 4264 | themeField = themeSetting.themeField; |
| 4265 | let styleGroups = await this.getRankStyleGroup(themeField, features, parameters, featureType); |
| 4266 | return styleGroups ? { parameters, styleGroups } : false; |
| 4267 | } |
| 4268 | /** |
| 4269 | * @private |
| 4270 | * @function WebMap.prototype.getRankStyleGroup |
no test coverage detected