增加加载精灵图片逻辑

This commit is contained in:
hym 2025-12-25 16:48:42 +08:00
parent 43a2bfaf57
commit 610a47b4bd
1 changed files with 2 additions and 1 deletions

View File

@ -240,7 +240,7 @@ import {
} from '@/utils/common' } from '@/utils/common'
import { loadVectorLayer } from '@/utils/vector-layer-utils' import { loadVectorLayer } from '@/utils/vector-layer-utils'
import { ColorGenerator } from '@/utils/color-generator'; import { ColorGenerator } from '@/utils/color-generator';
import { handleWheel } from "@/utils/mapbox-utils"; import { handleWheel, initSprites } from "@/utils/mapbox-utils";
const Cesium = window.Cesium const Cesium = window.Cesium
@ -415,6 +415,7 @@ export default {
Vue.config.maps["home"] = map; Vue.config.maps["home"] = map;
handleWheel("home"); handleWheel("home");
initSprites("home")
map.on('load', () => { map.on('load', () => {
// 线 // 线