Developer News

CARTO for Developers Latest News

Announcing CARTO for React 1.4.7

2022-11-18

A new version of CARTO for React has been released with the following main highlights:

  • Support for parameterized queries. Now, a user can define queries that allow for external parameters to be injected into the query and create more powerful dynamic queries without having to modify the SQL; this, will result in filtering being applied from the backend side to the sources and will be reflected in layers and widgets. For more information, a guide has been included in our documentation and can be accessed here.
  • Several bug fixes including a fix for an issue with wrong computations in widgets connected to tilesets
  • A new RangeWidget, that allows an easy way to filter a source, based on a numerical column.
  • Updated deck.gl to 8.8.17

Announcing CARTO for React 1.3 and deck.gl 8.8

2022-07-11

The new versions of CARTO for React (1.3) and deck.gl (8.8) have been released.

These are the highlights of deck.gl 8.8 for CARTO users:

  • The CartoLayer now works only with dynamic tiles. The format property has been removed. If you want to keep using GeoJSON instead of tiles, you can do it with the fetchLayerData function.

  • Dynamic tiling is now supported when the map type is QUERY, in addition to TABLE.

  • Dynamic and static tilesets can now use spatial indexed geometries (H3 and Quadbin), in addition to regular geometries.

In CARTO for React 1.3 we have many new features, including:

  • BarWidget, providing a chart with vertical bars for qualitative/categorical data.

  • Some of the widgets now support a global mode where calculations are made over the full dataset, not just with data for the current viewport.

  • Support for sources using dynamic tiling and spatially indexed geometries (H3 and Quadbin).

For additional information check the documentation (CARTO for deck.gl / CARTO for React and the release notes (CARTO for deck.gl / CARTO for React). You can also check the full changelog with the complete list of improvements and bug fixes for deck.gl and the CARTO for React library and templates.


CARTO for React 1.2 and deck.gl 8.7 now available

2022-03-04

CARTO for React 1.2 and deck.gl 8.7 are now available.

The new release of deck.gl includes the following features:

  • fetchMap function, making it easy to load a Builder map to improve collaboration between map designers and developers.

  • Dynamic tiling support, to visualize larger tables, up to millions of rows, without the need for pre-generating a tileset.

  • MaskExtension, spatial masking on the GPU.

  • QuadkeyLayer, new layer for visualizing data using the Quadkey spatial indexing system.

CARTO for React 1.2 comes with many improvements and these new features:

  • FeatureSelectionWidget, allows the user to draw a shape to define a spatial filter.

  • TableWidget, to display source features in a tabular way.

  • Support for sources with vector tiles using WGS84 coordinates, including dynamic tiling and pre-generated tilesets in BigQuery, Snowflake and Redshift.

For additional information check the documentation (CARTO for deck.gl / CARTO for React and the release notes (CARTO for deck.gl / CARTO for React). You can also check the full changelog with the complete list of improvements and bug fixes for deck.gl and the CARTO for React library and templates.


CARTO for React 1.1 has been released

2021-10-29

CARTO for React 1.1 is available and comes packed with new features:

  • Integration with the new version of the CARTO platform, including new basic templates for JavaScript and TypeScript

  • New widgets for creating layer legends, visualizing scatterplots and exploring time-enabled layers

  • Support for Google Maps vector basemaps

For additional information check the documentation and the release notes. You can also check the full changelog with the complete list of improvements and bug fixes in the library and the templates.


Announcing deck.gl 8.6 release

2021-10-12

This new release includes several performance improvements, bug fixes and adds support for vector maps in the Google Maps module. Starting with Google Maps v3.45 there are two modes of rendering: Vector and Raster. The Vector rendering mode is, in general, more performant, and the GoogleMapsOverlay class offers several features not available when using Raster rendering like:

  • Shared 3D space: objects drawn by the GoogleMapsOverlay class appear inside the Google Maps scene, correctly intersecting with 3D buildings and behind the contextual labels drawn by Google Maps

  • Tilting and rotating the view is supported

  • Rendering uses the same WebGL context as Google Maps, improving performance

For further information check the blog post and the updated documentation in the official deck.gl site. We have also updated the documentation and examples in our site both for the CARTO module and the integration with Google Maps.


Support for the new CARTO platform in deck.gl 8.5

2021-07-26

The release of deck.gl 8.5 adds support in our module for the upcoming version of the CARTO platform, to be released later this year. Now you can access directly datasets and tilesets hosted on your cloud data warehouse (BigQuery, Snowflake, Redshift, PostgreSQL), without needing to import first the data in the CARTO platform.

The CARTO module now includes a new CartoLayer with support for all the different versions of the CARTO Maps API. You can migrate your existing code using CartoSQLLayer and CartoBQTilerLayer by following the instructions in the docs.

We have also added a new getData function to provide better support for other deck.gl layers (ArcLayer, Heatmap, H3HexagonLayer…) when working with the new version of the platform. You can retrieve the data in different formats like GeoJSON, JSON and NDJSON (to handle incremental loading).

In this version we have improved the support for vector tiles and the MVTLayer is now 2x-3x faster processing tiles. You will experience improved performance with both the current and upcoming version of the platform.

See what’s new in this release and check the updated documentation in the official deck.gl site. We have also updated the documentation and examples within the CARTO for deck.gl section in our docs.


Enhancing Geospatial in BigQuery with CARTO’s Analytics Toolbox

2021-04-29

The Analytics Toolbox is packed with functions and procedures to perform geospatial analysis using expressive and simple SQL, all natively within the data warehouse environment. The core layer of the Analytics Toolbox, which enhances the built-in GIS capabilities of the cloud data warehouses, is open source and freely available on GitHub.

For further information check the blog post and the documentation.


Introducing CARTO for React

2021-03-23

React is currently one of the most popular frameworks for building web applications. We are convinced that the React library along with Redux provides an unmatched environment for building Location Intelligence applications.

Today we are announcing a further development resource to help our partners and customers to be more productive building apps, by opening up the same tools we use to create CARTO itself, and announcing CARTO for React. With this announcement our goal is to make development of spatial applications at least twice as fast.

For further information check the blog post and the documentation.


Introducing CARTO for deck.gl

2020-10-14

It is CARTO’s vision that you, as a developer, should be able to choose whichever mapping library you prefer for your applications. And for that reason we have been working over the last few months on adding support for one of the most popular libraries out there, deck.gl. We are so excited about its possibilities that we have decided to make it our preferred and recommended library for building spatial applications using CARTO.

Today, we are very excited to announce that a complete CARTO module is now available as part of the deck.gl framework. This means developers can easily use CARTO APIs when building apps using the deck.gl framework.

The new CARTO modules for deck.gl allow you to visualize regular Tables in CARTO and BigQuery Tilesets.

For additional information check the blog post and the documentation.