Allow registration of custom functions for expressions
This commit is contained in:
@@ -49,7 +49,7 @@ var style = new ol.style.Style({rules: [
|
||||
}),
|
||||
new ol.style.Text({
|
||||
color: '#bada55',
|
||||
text: new ol.Expression('label'),
|
||||
text: ol.expression.parse('label'),
|
||||
fontFamily: 'Calibri,sans-serif',
|
||||
fontSize: 14
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user