【发布时间】:2012-10-10 04:42:30
【问题描述】:
我想为 Openlayers 中的特定图层切换点的填充颜色?有可能这样做吗?眨眼之类的?
fillColor:${getFillColor},
context : {
getFillColor : function(feature) {
if (feature.data.fillColor == 'red') {
return 'yellow';
} else {
return 'red';
}
不工作
【问题讨论】:
标签: openlayers