我正在使用ol3中的矢量圖層,並且罰款了真正缺乏的API文檔。開放圖層中的樣式矢量3
唯一可用的參考是默認的樣式,展現在ol.style
這是我到目前爲止,從實例和試錯採取
style = [
new ol.style.Style({
image: new ol.style.Circle({
radius: Math.max(10*log10(size), 10),
stroke: new ol.style.Stroke({
width: 1.5,
color: '#fff'
}),
fill: new ol.style.Fill({
color: 'hsl(220,60%,60%)'
})
}),
text: new ol.style.Text({
text: size.toString(),
fill: new ol.style.Fill({
color: '#fff'
})
})
})
];
爲什麼會有一個數組?
如何更改字體大小? 「font-size」:和大小:沒有工作
是否還有其他文檔我應該看?
我迷路了。
提示:。取消選擇「僅穩定」校驗查看API文檔時.. 。你會發現它們相當完整。 – ProfNimrod 2014-10-27 20:13:25