1.0.18 • Published 7 months ago

mapv-three v1.0.18

Weekly downloads
-
License
ISC
Repository
-
Last release
7 months ago

mapv three

MapV Three 是由百度地图开放平台FE团队推出的基于 WebGL 的三维场景数字孪生库,帮助开发者快速搭建自己的数字孪生场景。支持10余种格式模型加载、孪生场景常见的虚拟实体添加、模型事件操作,以及仿真的自然环境天气轻松实现...

该三维渲染引擎依赖于bmap-three,bmap-three 是在 three.js 基础上进行功能升级封装,因此,在 mapv-three 所提供的功能基础上,你可以通过 bmap-three 原有的 three.js 能力自定义三维场景能力。

文档示例

文档:https://lbsyun.baidu.com/solutions/mapvthreedoc

开始使用

接入MapV Three

  • 通过 npm 引入
npm install mapv-three
  • 通过 CDN 引入
<script src="https://unpkg.com/mapv-three@1.0.10/dist/mapvthree.umd.js"></script>

Hello World

import * as mapvthree from 'mapv-three';

const center = [105.9151758905, 29.32990056012];
const engine = new mapvthree.Engine(ref.current, {
    rendering: {
        enableAnimationLoop: true,
    },
});
engine.map.setCenter(center);
engine.map.setZoom(18);
engine.map.setPitch(80);
engine.add(new mapvthree.StaticSky());
1.0.18

7 months ago

1.0.17

8 months ago

1.0.16

8 months ago

1.0.15

8 months ago

1.0.14

8 months ago

1.0.13

9 months ago

1.0.12

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

0.1.0

2 years ago

1.0.0

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.0-beta.5

2 years ago

0.0.0-beta.4

2 years ago

0.0.0-beta.3

2 years ago

0.0.0-beta.2

2 years ago

0.0.0-beta.1

2 years ago