1.引入cdn 否则 3dtiles 加载不出来。
2.添加3dtiles 想让图标在倾斜摄影上面展示 classificationType: jsminemap.ClassificationType.FORCE_VECTOR_OVER_MODEL
3.卫星影像只设置maxZoom 会导致不清晰
获取模型要素
// let instance = map.getFeatureByGPUPick(e.point);
// if (instance instanceof minemap.ModelInstance) {
// if (instance.collection._rootId === "treeGltf") {
// getJzBoxDetail({
// unitVisitNoList: instance.instanceName,
// }).then((res) => {
// if (res.code === 0 && res.data.length > 0) {
// Object.assign(makerInfo, res.data[0]);
// }
// });
// markerDevice = new minemap.Marker(infoRef.value, { offset: [-300, -150] })
// .setLngLat(lngLat)
// .addTo(map);
// }
// }
设置图标旋转
"icon-rotate":
{
type: "identity",
property: "angle",
},