mapbox API : how can I set a fallback for the 'get' expression?

后端 未结 0 1630
臣服心动
臣服心动 2021-01-29 01:51

I use this expression to set the line-color of a layer.

map.addLayer({
  ...
  \'paint\': {
    \'line-color\': [\'get\', \'color\'],
  },
  ...
})


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题