我正在使用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