这是我的数据集的样子:
西雅图犯罪数据集
我想要做的是改变基于频率柱拉伸高度。 我可以成功地显示这些为点,但我与它挣扎时,我用填充挤压。 你能帮点我朝着正确的方向?
map.addLayer({
'id': 'total',
'type': 'circle',
'source': {
type: 'vector',
url: 'mapbox://askakdagr8.9tklrr8g'
},
'source-layer': 'GroupedOutput-9i6ink',
'paint': {
// make circles larger as the user zooms from z12 to z22
'circle-radius': {
'base': 1.75,
'stops': [
[12, 2],
[22, 180]
]
},
'circle-color': '#ff7770'
}
});