在 Google 地图中使用 3D [英] Using 3D in Google Maps

查看:36
本文介绍了在 Google 地图中使用 3D的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个网络应用程序,我可以在其中显示我自己的 geotiffs,包括 NDVI 和其他数据层,以及 3D 几何图形,提供 2D 平铺和带纹理的 3D 形状的无缝渲染,就像 maps.google 一样.com 实现了从地图"到地球"视图的切换.

I would like to create a webapp where I can display my own geotiffs, with NDVI and other data layers, as well as 3D geometries, providing a seamless rendering of both 2D tiles and textured 3D shapes, exactly like maps.google.com achieves in switching from "map" to "earth" views.

经过大量研究,我最接近可行的解决方案是基于 http://从头开始​​构建基础架构cesiumjs.org/,虽然这看起来可行,但它的级别非常低,并且需要大量的图书馆和大量工时.

After much research, the closest I came to a viable solution is to build the infrastructure from the ground up based on http://cesiumjs.org/, and while this seems doable, it is extremely low level, and will require an exotic cocktail of libraries and a buttload of man-hours.

在踏上这条道路之前,我想确保没有一种具有成本效益的替代方案可以减轻我的应用负担,并为我提供一组友好的 API,以作为我的应用的基础.

Before going down that road, I want to make sure there isn't a cost effective alternative that takes all the heavy lifting out of my app's shoulders and gives me a friendly set of APIs to base my app on.

Mapbox 在这方面接近完美,但不幸的是,它只能处理 2D.

Mapbox comes close to perfection in this regard, but unfortunately, it only handles 2D.

另一方面,在 Google 方面,在 Earth API 和 Maps Engine 弃用的情况下,很难说目前究竟有哪些可能并且长期保持可用.

On the other hand, on the Google side, amid Earth API and Maps Engine deprecation, it's hard to tell what exactly is currently possible and will remain available long term.

最重要的是,对于今天构建的面向未来的以 Google 为中心的解决方案,是否有适当的 Google API 允许构建显示自定义 2D 和 3D 数据并提供无缝渲染体验的网络应用?

Bottom line, for a future-proof Google-centric solution built today, are there Google APIs in place that allow building a webapp that displays custom 2D and 3D data with a seamless rendering experience?

推荐答案

https://cesiumjs.org/是一个非常类似于谷歌地图的库,它支持地图上的 3d 形状.

https://cesiumjs.org/ is a library very similar to google maps that provides support for 3d shapes on top of maps.

这篇关于在 Google 地图中使用 3D的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆