Author:CSDN @ _乐多_
This article will introduce the use of Vue, cesium, and proj4 frameworks to convert the xyz coordinates of the CGCS2000 coordinate system into the latitude and longitude height of the WGS84 coordinate system, and then convert the longitude and latitude height of the WGS84 coordinate system into the xyz coordinates of the Cartesian coordinate system. And the input and output are displayed using the Vue front-end framework. The code is plug and play.
The effect of the web page is as shown below,
Article directory
1. Complete code
Please install proj4 and cesium libraries before use.
<template>
<el-container>
<el-header