;
				panzoom.pan({
					x: c[0] * rzoom + ele.clientWidth / 2,
					y: c[1] * rzoom + ele.clientHeight / 2
				});
			};


			function openRepo() {
				window.open("https://github.com/SierraQin/metro");
			};


			function pdfDownload() {
				window.open(vm.curr.pdfUrl);
			};


			function switchEnv() {
				if (env.curr == "PROD") {
					ele = document.getElementById("svg8");
					rzoom = panzoom.getSizes().realZoom;
					coord.curr[2] = panzoom.getZoom();
					coord.curr[0] = (panz