我想在交互式地圖上顯示一個圓的輪廓(不填充),但是,mapbox-gl-js中的繪製選項似乎僅限於填充。 https://www.mapbox.com/mapbox-gl-style-spec/#layers-circle顏色只有一個圓圈的地圖邊框gl js
var styles = [{
"id": 'points',
"interactive": true,
"type": "circle",
"source": "geojson",
"paint": {
"circle-radius": 5,
"circle-color": "#000
},
"filter": ["in", "$type", "Point"]
}, {
"type": "line",
"source": "geojson",
"layout": {
"line-cap": "round",
"line-join": "round"
},
"paint": {
"line-color": "#000",
"line-width": 2.5
},
"filter": ["in", "$type", "LineString"]
}];
我缺少的東西或者是這是不可能的?