creating visualization map after setting mapConfig variable