MCPcopy Create free account
hub / github.com/MankaiHuang/screen-visualization / init

Function init

public/iframe/lib/js/mixinsMap.js:266–278  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

264 }
265 },
266 init () {
267 const mapConfig = {
268 style: "amap://styles/7e3bb5bc6ed4019b2fe41a29167fd026", // 样式URL
269 pitch: 0,
270 center: [112, 23.69],
271 zoom: 2.5,
272 }
273 this.initL7Map(`map${this.id}`, mapConfig, async (scene) => {
274 this.scene = scene
275 await this.initData()
276 this.drawPointLayer()
277 })
278 }
279 },
280 template: `<div class="full" :id="'map'+id"></div>`
281 })

Callers

nothing calls this directly

Calls 1

setTimeoutFunction · 0.85

Tested by

no test coverage detected