创建新仓库

This commit is contained in:
2025-07-03 17:39:09 +08:00
commit c781d38c0c
12944 changed files with 807291 additions and 0 deletions

View File

@ -0,0 +1,47 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script src="../sdk/YJEarth.min.js"></script>
<script src="vue.js"></script>
<style>
body {
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<div id="app" class="fullSize">
</div>
</body>
</html>
<script>
new Vue({
el: "#app",
data: {
sdk: null,
CircleDiffuse: null
},
async mounted() {
await YJ.on()
this.createEarth()
},
methods: {
createEarth() {
this.sdk = new YJ.YJEarth("app")
var lng = 117.90365282568267
var lat = 40.16773126252592
this.CircleDiffuse = new YJ.Obj.CircleDiffuse(this.sdk, { show: true, lng, lat })
this.CircleDiffuse.flyTo()
this.CircleDiffuse.edit(true)
}
}
})
</script>