Closed LongJohnSilver1504 closed 3 years ago
Hey!
You can use our helper functions to create data-driven map visualizations.
Also, you can always style your data with accessors, i.e. styling the line color for a specific feature:
getLineColor: d => {
if (d.properties.cartodb_id === 1) {
return [255, 0, 0];
}
return [0, 255, 0];
}
In addition to what @AdriSolid has pointed out, if you are using the CartoLayer from the @deck.gl/carto module, it uses the GeoJsonLayer for rendering, so you can apply any of the rendering options described in the documentation.
Closing, feel free to reopen if you have additional questions.
How can I style layers now that carto does not recommend using cartocss and turbocarto. Where can I find documentation about it? Thanks