addDataToMap inquiry #3141
Unanswered
nirmitsakre
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to use addDataToMap in my react app.
const lineStringData = {
fields: [
{ name: "section_name", type: "string" },
{ name: "section_geometry", type: "geojson" },
{ name: "unique_users_count", type: "integer" },
],
rows: linesData.map((item) => {
// Find matching KPI data
const kpi = kpis.find(
(k) => k.section_name === item.section_name
);
I want to set the color based on unique_users_count value. How can I select the stroke color and stroke color based on from the code itself. Where can I find all the available options for VizState and config parameters documentation.
Beta Was this translation helpful? Give feedback.
All reactions