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

javascript - Use heatmap.js in cesium.js - Stack Overflow

programmeradmin0浏览0评论

I'm interested in showing a heatmap in my Cesium application. On the heatmap.js website they have a number of demos such as the leaflet demo which adds the heatmap object as a layer. I'm wondering if there is a way to do such a thing in Cesium.js. I've seen people mention rendering a (or multiple) PNG(s) and showing that as a layer, that's a viable option if there is a way that I can do it on the fly and add them to my Cesium instance.

I have seen examples of heatmaps in Cesium but it's never explained how they did that (I don't even know if they used heatmap.js). There is also an issue on the Cesium.js GitHub about this, but they don't seem to be actively pursuing it.

I'm interested in showing a heatmap in my Cesium application. On the heatmap.js website they have a number of demos such as the leaflet demo which adds the heatmap object as a layer. I'm wondering if there is a way to do such a thing in Cesium.js. I've seen people mention rendering a (or multiple) PNG(s) and showing that as a layer, that's a viable option if there is a way that I can do it on the fly and add them to my Cesium instance.

I have seen examples of heatmaps in Cesium but it's never explained how they did that (I don't even know if they used heatmap.js). There is also an issue on the Cesium.js GitHub about this, but they don't seem to be actively pursuing it.

Share Improve this question asked May 6, 2015 at 8:53 ManuelManuel 10.3k5 gold badges44 silver badges61 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 6

Because there was nothing to my liking I created 2 libraries to incorporate heatmap.js into Cesium. Both can be found on my GitHub. They are called:

CesiumHeatmap

This is a library that uses either a Entity.Rectangle or the SingleTileImageryProvider to show the heatmap on the globe.

HeatmapImageryProvider

This is a library that uses a custom Cesium.ImageryProvider to show the heatmap on the globe.

发布评论

评论列表(0)

  1. 暂无评论