[ad_1]
If I understand the question correctly, changing markersList[i].currentNetwork to markersList[i][currentNetwork] should solve this.
1
[ad_2]
solved Accessing JSON key/value
[ad_1]
If I understand the question correctly, changing markersList[i].currentNetwork to markersList[i][currentNetwork] should solve this.
1
[ad_2]
solved Accessing JSON key/value