* FIXME: this is a temporarily workaround. * When `geoRoam` the elements need to be reset in `MapView['render']`, because the props like * `ignore` might have been modified by `LabelManager`, and `LabelManager#addLabelsOfSeries` * will subsequently cache `defaultAttr` like `ignore`. I
()
| 578 | * Use clone/immutable in `LabelManager`? |
| 579 | */ |
| 580 | resetForLabelLayout() { |
| 581 | this.group.traverse(el => { |
| 582 | const label = el.getTextContent(); |
| 583 | if (label) { |
| 584 | label.ignore = mapLabelRaw(label).ignore; |
| 585 | } |
| 586 | }); |
| 587 | } |
| 588 | |
| 589 | private _updateMapSelectHandler( |
| 590 | mapOrGeoModel: MapOrGeoModel, |