We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 576ad7b commit 64cb71fCopy full SHA for 64cb71f
src/leaflet/overlay/RangeThemeLayer.js
@@ -75,7 +75,7 @@ export var RangeThemeLayer = GeoFeatureThemeLayer.extend({
75
//判断属性值是否属于styleGroups的某一个范围,以便对获取分组 style
76
if (isSfInAttributes && isValidStyleGroup) {
77
for (var i = 0, len = groups.length; i < len; i++) {
78
- if ((attribute >= groups[i].start) && (attribute < groups[i].end)) {
+ if ((attribute >= groups[i].start) && (attribute <= groups[i].end)) {
79
var sty1 = groups[i].style;
80
style = CommonUtil.copyAttributesWithClip(style, sty1);
81
}
0 commit comments