无法使用深入见解cartodb javascript库
I was using sometime ago the deep-insights.uncompressed.js library from cartoDB, but they now included it in the carto product in lib/assets/javascript/deep-insights but I don't know how to use it in my html pages, I've tried to
我之前使用过cartoDB中的deep-insights.uncompressed.js库,但他们现在将它包含在lib / assets / javascript / deep-insight中的carto产品中,但我不知道如何在我的html页面中使用它,我试过
<script src="./deep-insights/index.js"></script>
but it says that 'Uncaught ReferenceError: module is not defined at index.js:1'... Any ideas on how do I use it in my pages?
但是它说'未捕获的ReferenceError:模块没有在index.js中定义:1'......关于如何在我的页面中使用它的任何想法?
EDIT: The Github link
编辑:Github链接
1 个解决方案
#1
0
Disclaimer: I work at CARTO
免责声明:我在CARTO工作
That library was never officially released, nor supported. So I guess has evolved into a dependency for BUILDER and cannot be used outside easily. Instead, I would recommend migrating your code to CARTO.js 4. Soon (weeks) we'll release a visual components library to complement it that will make easy to develop dashboards, even tough it won't be easy as it was with Deep Insights.
该图书馆从未正式发布,也未得到支持。所以我猜想已经发展成为BUILDER的依赖,不能轻易在外面使用。相反,我建议将您的代码迁移到CARTO.js 4.很快(几个星期)我们将发布一个可视化组件库来补充它,这将使开发仪表板变得容易,即使很难实现它也不会像Deep那样容易洞察。
更多相关文章
- 执行javascript作为coldfusion页面加载
- 如何在页面上获得带有javascript的特定单词的链接
- 我可以在JavaScript中从不同的页面传递参数吗?
- Ajax的实用技术——用户的注意力从页面的其他区域到转移选择的图
- 不断更改页面(例如cookie点击器中的cps)
- 切换页面时出现白屏闪烁
- 使用CSS,HTML和Javascript在随机图像的页面上进行图像大小调整
- 如何在涉及css缩放时获取页面上的点击位置
- 如何修复一个页面网站的容器/正文宽度(html,css和js)