let markers = [ ...this.state.markers ]; markers[index] = {...markers[index], key: value}; this.setState({ markers });