最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Add a 3D layer on a Google Maps object - Stack Overflow

programmeradmin0浏览0评论

I want to add a 3D layer showing cloud location and elevation on a Google Maps.

The idea is that when you tilt the map (ctrl+drag in Earth mode) you could see how high each cloud is.

I found this article which explains how to add 3D buildings but it's "fakes", cheating with the latitudes to get some height effect:

/drawing-3d-objects-and-building-on-google-maps/

I couldn't find anything up to date in the doc.

I want to add a 3D layer showing cloud location and elevation on a Google Maps.

The idea is that when you tilt the map (ctrl+drag in Earth mode) you could see how high each cloud is.

I found this article which explains how to add 3D buildings but it's "fakes", cheating with the latitudes to get some height effect:

http://johndyer.name/drawing-3d-objects-and-building-on-google-maps/

I couldn't find anything up to date in the doc.

Share Improve this question edited Nov 22, 2016 at 20:07 MasterScrat asked Nov 21, 2016 at 8:01 MasterScratMasterScrat 7,38615 gold badges51 silver badges80 bronze badges 1
  • Similar question: stackoverflow./questions/32099416/using-3d-in-google-maps – MasterScrat Commented Nov 24, 2016 at 14:53
Add a ment  | 

2 Answers 2

Reset to default 4

Google seems to be silent about 3D features in Javascript API. Closest I can get to this are Styled Maps but nowhere does it specifically indicate 3D. Only Android implementations are available as of now.

I did some research and found this library which help you build 2D and 3D: https://github./OSMBuildings/OSMBuildings

Another option is Cesium JS:

An open-source JavaScript library for world-class 3D globes and maps

https://cesiumjs/

发布评论

评论列表(0)

  1. 暂无评论