Hey! This content applies only to previous CARTO products

Please check if it's relevant to your use case. On October 2021 we released a new version of our platform.
You can learn more and read the latest documentation at docs.carto.com

Questions  /  Working with Data  /  Development

How to insert geometries to a CARTO dataset in a CARTO.js application

Learn how to insert geometries to a CARTO dataset drawing them in a CARTO.js application.

This working example shows how to add geometries with Leaflet.Draw as layers on a CARTO map and at the same time inserting them into a CARTO dataset.