[Maps] fix remove layer (#65093)
This commit is contained in:
parent
cc6a676c4c
commit
a80f2582c3
|
@ -75,7 +75,7 @@ export class TOCEntryActionsPopover extends Component<Props, State> {
|
|||
}
|
||||
|
||||
_removeLayer() {
|
||||
this.props.fitToBounds(this.props.layer.getId());
|
||||
this.props.removeLayer(this.props.layer.getId());
|
||||
}
|
||||
|
||||
_toggleVisible() {
|
||||
|
|
Loading…
Reference in a new issue