Skip to main content

Questions tagged [carto-vl]

CARTO VL is a JavaScript library that interacts with different CARTO APIs to build custom apps leveraging vector rendering.

Filter by
Sorted by
Tagged with
0 votes
1 answer
29 views

Compositing Operations in CARTO VL

Is there any way to do (or emulate) the compositing operations that can be done in CartoCSS with CARTO VL? The closest I've been able to find (which hasn't been that close) is the ways to change the ...
Matthew Law's user avatar
0 votes
1 answer
86 views

Iterate through date columns in CARTO (frames, VL, etc.)

I currently have a data file that has columns for each day over an 8-month period. I am seeking of a way to create an interactive CARTO map that displays the change over time. I want to know if there ...
sTonystork's user avatar
0 votes
1 answer
29 views

Search Function Carto VL

I'm new to Carto VL and html, and could use some help. I'm currently building a map using Carto VL and want to implement a search feature that allows users to type in a location and have the map zoom ...
user169554's user avatar
0 votes
1 answer
214 views

How to create an interactive based filter (checkboxes) with multiple layers using Carto VL

I'm relatively new to coding, and have been developing a map using Carto VL and Mapbox. I've found a way to create a filter within a map where users can turn off and on different categories within ...
user169554's user avatar
0 votes
1 answer
66 views

Carto Bubble-legend class

I'm trying to Add a Bubble legend with Carto VL to my map but the Bubbles are rather showing as a block and not bubble. Is the "Bubble-legend" class deprecated or should I style it myself ...
Imen's user avatar
  • 3
0 votes
1 answer
235 views

List all columns of a dataset?

Using CARTO VL. Having a dataset, is there a way to fetch all columns this dataset has before I create the viz object so I can programmatically decide which variables to add to the viz? Something ...
Leo Germani's user avatar
1 vote
1 answer
55 views

Is it possible to load a visualization created in the Carto Builder using Carto VL?

When using CARTO VL to load data from my Carto account I'm able to add Datasets to the map and interact with it. Is there any way to add the whole map built in the Carto builder to a map? With all ...
Leo Germani's user avatar
0 votes
1 answer
65 views

Changing property on Carto VL feature?

I have a map that relates to a table. When the user selects a table row, I would like to highlight the corresponding map feature. This is the only way I found to do it: const siteGeoJSON = ...
ed94133's user avatar
  • 105
0 votes
1 answer
97 views

Size Legend for Carto VL

I am trying to construct a legend based on size using Carto VL, and am struggling to implement the solution posed in this Github thread. https://github.com/CartoDB/carto-vl/issues/1260 I built a ...
SydWidell's user avatar
1 vote
0 answers
47 views

How to sync Airship legend component data with CARTO VL legend data

I am trying to sync Airship category legend data as a VueJS component but it looks like the data property is not digesting the values properly: <legend orientation="vertical" data="[object Object],...
ramiroaznar's user avatar
  • 4,449
1 vote
1 answer
62 views

Interactive progress bar in CartoVL

I am creating an animated time series map using Carto VL and have included a progress bar that updates as the animation progresses. The bar updates, but is not interactive — for instance, a viewer ...
SydWidell's user avatar
1 vote
1 answer
73 views

WebGL error when switching visualization

I am getting similar WebGL error messages when switching CARTO VL visualizations: [.WebGL-0x59c22054800]RENDER WARNING: there is no texture bound to the unit 0 [.WebGL-0x59c222e5500]RENDER WARNING: ...
ramiroaznar's user avatar
  • 4,449
1 vote
1 answer
70 views

Animation does not work GeoJSON date fields in CARTO VL

In CARTO VL linear function expects a date or numeric field as its first argument. But when the data source is a GeoJSON, date fields are stored as categorical/strings and it returns an error like ...
ramiroaznar's user avatar
  • 4,449
1 vote
0 answers
215 views

Animation with time + category interactive filter not working in CARTO VL

I am new to this CARTO VL tool and I am currently facing an issue that I can't fix by reading your Git repos or online help. I have prepared two separate visualizations (one of them has a filter by ...
Ainhoa84's user avatar
0 votes
1 answer
72 views

CARTO VL time steps not working

I am new to CARTO VL and i want to make a simple dashboard with an animation panel as shown in one CARTO VL guide. The problem that i get is that when i try to animate it by the atribute of time of ...
Álvaro's user avatar
1 vote
1 answer
86 views

Auto Style in Carto Airship

There's any native way that I can add an autostyle (to style both layer and category widgets) on Carto Airship/Carto-VL? If the answer is no there's any function that I can use in the code below to ...
andradegbz's user avatar
2 votes
1 answer
91 views

How to know when a widget from CARTO Airship is loaded

I'm getting some information from a server using fetch and using jQuery append to dinamically add the widgets to my page, but I need to know when the widget is done loading, there's any trigger that ...
andradegbz's user avatar
3 votes
1 answer
122 views

Replacing legend item names in Carto VL

I am trying to replace legend item names in a Carto VL map. Using an example from the documentation which describes how to rename the "CARTO_VL_OTHERS" category, I was able to rename one of my legend ...
JohnGIS's user avatar
  • 515
0 votes
1 answer
139 views

Using carto-vl to connect to local installation

I'm trying to use carto-VL on a local instalation via docker. Everything works fine with carto.js v4 and airship, but when i try to use carto-vl it always gives errors and I can't access my datasets, ...
andradegbz's user avatar
1 vote
0 answers
95 views

Changing basemap in CartoVL

Similar to the provided example of selecting different layers in CartoVL, is it possible to select different basemaps? For example, my map uses: const map = new mapboxgl.Map({ container: 'map', ...
JohnGIS's user avatar
  • 515
0 votes
1 answer
91 views

Can I use external map data with cartojs library? [closed]

I am receiving data from another source apart from cartodb and I would like to use the data for carto maps.
Michael Kolawole's user avatar
0 votes
1 answer
70 views

SQL layer wont ORDER BY in CARTO VL

I have a dataset that shows the borehole yield for fractured aquifers in South Africa. Using the "yield_ls" column, my CARTO VL legend looks like this (notice how the 4th item should be the first). ...
JohnGIS's user avatar
  • 515
1 vote
2 answers
139 views

Updating legend (when active layer is changed) in CARTO VL?

I have made a CARTO VL map that allows the user to update the active layer depending on which groundwater aquifer option is selected. The layers have different Sources, but use the same Viz. For ...
JohnGIS's user avatar
  • 515
1 vote
1 answer
192 views

How to reverse quantile color palette with CARTO VL

Using CARTO VL (which is awesome by the way), I have made the following groundwater harvest potential map that is styled using 10 quantiles. Although the "temps" palette works well, is it possible ...
JohnGIS's user avatar
  • 515
0 votes
1 answer
87 views

CARTO Airship widget default text

I am testing CARTO Airship. I have a query regarding airship widget default text. There are some default text values in all widgets like "There is no data to display" or "NO DATA AVAILABLE". I also ...
Akshay S V's user avatar
1 vote
1 answer
99 views

How to run basic setup CARTO VL?

I'm new to HTML and to CARTO VL, hoping to jump right in to make a map with animated lines and points, which combined are unavailable in CARTO Builder. I've tried to run the basic CARTO VL set-up ...
Kristen's user avatar
  • 11
3 votes
3 answers
505 views

How do you create buffers around points based on individual point values in CARTO?

I am very new to CARTO and have very limited coding skills. I have a data set of points representing the centroid of zip codes. Each point has an associated average commute time. It is relatively ...
John R's user avatar
  • 31
0 votes
1 answer
116 views

How to use CARTO map visualization in Odyssey.js sandbox

I have a story map in Odyssey's sandbox GUI. I want to use a visualization I have in CARTO as a base map for this map. How can I find my viz key? All the documentation seems to refer to an option that ...
atlasofcoffee's user avatar
0 votes
2 answers
273 views

Adding labels to a Carto VL visualization?

It was possible to add labels to polygon visualizations in Carto.js 3.x via the CartoCSS; is there a way to add them in Carto VL visualizations? From what I can tell, Carto VL doesn't have the ...
Joshua Miller's user avatar
0 votes
1 answer
77 views

Where to find datasets for creating CARTO VL maps?

Is there any way to download example datasets like NYC taxi and origin-destination data? Like those that show flight paths from and to some cities. I think it'd help me greatly if I could somehow get ...
Sonic's user avatar
  • 15
0 votes
1 answer
142 views

Using CARTO VL on local Ubuntu installation

I'm trying to use CARTO VL on local Ubuntu 16.04 installation. To connect to local CARTO installation, I used the following config in my index.html: carto.setDefaultConfig({ serverURL: 'http://me....
Sonic's user avatar
  • 15