feature/业务线管理
parent
262b4f1ef7
commit
8010aeb09c
@ -0,0 +1,24 @@
|
||||
import type AmapViewer from "src/lib/AmapViewer";
|
||||
|
||||
export default class ShadowMaterialAmap {
|
||||
protected Amap!: any;
|
||||
|
||||
constructor(map: AmapViewer) {
|
||||
this.Amap = map;
|
||||
}
|
||||
|
||||
// 创建 GL 图层
|
||||
public CreateGLlayer() {
|
||||
console.log("gllayer", this.Amap);
|
||||
return;
|
||||
const gllayer = new AMap.GLCustomLayer({
|
||||
zIndex: 10, // 初始化的操作
|
||||
init: (gl: any) => {
|
||||
console.log("gl", gl);
|
||||
},
|
||||
render: () => {
|
||||
console.log(123);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue