【问题标题】:Can I edit a layer from carto using carto.js (v4) and google maps api (Javascript)?我可以使用 carto.js (v4) 和 google maps api (Javascript) 从 carto 编辑图层吗?
【发布时间】:2018-12-28 15:17:22
【问题描述】:

我正在使用 Google Maps API 显示地图,并使用 carto.js (v4) 从 carto 获取图层并在其上进行渲染。我想知道是否可以使图层可编辑。

【问题讨论】:

    标签: angular google-maps google-maps-api-3 cartodb


    【解决方案1】:

    显然,Google Maps API 提供了drawing tools,因此您可以按照旧的(但仍然有效)blog post 中描述的类似方式处理任务。

    最后就是将这些前端几何图形转换为 INSERT 语句并使用 CARTO SQL API,或者更有可能在两者之间放置一些中间件来管理身份验证等。

    【讨论】:

      猜你喜欢
      • 2010-12-30
      • 2021-03-06
      • 1970-01-01
      • 1970-01-01
      • 2010-11-01
      • 1970-01-01
      • 1970-01-01
      • 2016-08-20
      • 1970-01-01
      相关资源
      最近更新 更多