Skip to content
David Inga edited this page Aug 31, 2016 · 3 revisions

In layer config you can include layer_config:


// basic
{
  "type": "basic",
  "items": [{"name": "name", "color": "#ff0000", "icon": "URL"}],
  "unit": "m."
}

// line
{
  "type": "lines",
  "items": [{"name": "name", "value": "1", "color": "#ff0000", "lineType": "dash"}],
  "unit": "m."
}

// gradient
{
  "type": "gradient",
  "items": [{"name": "name", "value": "1", "color": "#ff0000"}],
  "unit": "m."
}

// choropleth
{
  "type": "choropleth",
  "items": [{"name": "name", "value": "1", "color": "#ff0000"}],
  "unit": "m."
}
Clone this wiki locally