修改了Marker的高亮展示逻辑,效率更高

This commit is contained in:
董宏宇
2020-01-15 14:00:33 +08:00
parent 6b840de0a8
commit bbf538d845
5 changed files with 43 additions and 69 deletions

View File

@@ -92,9 +92,7 @@ public class MarkerShowEntity {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
MarkerShowEntity that = (MarkerShowEntity) o;
return isChecked == that.isChecked &&
isHighlighted == that.isHighlighted &&
Objects.equals(iconUrl, that.iconUrl) &&
return Objects.equals(iconUrl, that.iconUrl) &&
Objects.equals(textContent, that.textContent) &&
Objects.equals(markerType, that.markerType) &&
Objects.equals(bindObj, that.bindObj) &&
@@ -103,7 +101,7 @@ public class MarkerShowEntity {
@Override
public int hashCode() {
return Objects.hash(isChecked, isHighlighted, iconUrl, textContent, markerType, bindObj, markerLocation);
return Objects.hash(iconUrl, textContent, markerType, bindObj, markerLocation);
}
@Override