mapbox-developer-group / Mapbox-Tech-Q-A

在提问之前请自行查看文档哦,养成好习惯:https://docs.mapbox.com/
32 stars 1 forks source link

mapbox gl怎么绘制有高度的点 #10

Open weihongli2019 opened 5 years ago

weihongli2019 commented 5 years ago

mapbox gl怎么绘制有高度的点

barrycug commented 5 years ago

https://docs.mapbox.com/mapbox-gl-js/example/3d-buildings/
把点做成一个圆形的polygon

weihongli2019 commented 5 years ago

@barrycug 不是那个厚度,是高度,脱离地面的,应该是有高程的点

barrycug commented 5 years ago

https://docs.mapbox.com/mapbox-gl-js/style-spec/#paint-fill-extrusion-fill-extrusion-base 试试这个参数

toplchx commented 5 years ago

推荐使用deck.gl结合mapbox底图,可以画带高程的点和轨迹,比如飞机航线

weihongli2019 commented 5 years ago

@barrycug 这个是针对面的,在面拉伸成室内三维的那个例子里面有

weihongli2019 commented 5 years ago

@toplchx 我想把tripslayer里面的拖尾,在arclayer里面实现,有没有办法

toplchx commented 5 years ago

Triplayer是继承的Pathlayer,你需要仿照写一个继承ArcLayer的layer。

Jing-flyloveyin commented 4 years ago

@dazhi1011 @shiyuan598 可以帮忙回答一下这个问题吗?

chaijinsong commented 4 years ago

同问,这个问题有解决吗? @weihl

CoderXXLee commented 3 years ago

同问 @weihl