Maintain Camera Distance from the scene

I’m creating a globe and created small dots on it which will represent the users, as in the top left corner, and I’ve also created a locate me button, which will rotate the globe and move the camera to the appropriate user’s dot, which in my case is green as you can see, I’ve also created zoom i/o button in the bottom right corner, now the problem is everything is working fine but when I zoomed in the globe, and then click on locate me button, it does work fine but i want it to also maintain it’s distance from the camera which was initially set the website was loaded when clicking on locate me button, here’s the snippet of my code of locate me button,