Updating example to use new properties
This commit is contained in:
@@ -38,7 +38,7 @@ var vector = new ol.layer.Vector({
|
|||||||
symbolizers: [
|
symbolizers: [
|
||||||
new ol.style.Text({
|
new ol.style.Text({
|
||||||
color: '#bada55',
|
color: '#bada55',
|
||||||
name: new ol.Expression('name'),
|
text: new ol.Expression('name'),
|
||||||
fontFamily: 'Calibri,sans-serif',
|
fontFamily: 'Calibri,sans-serif',
|
||||||
fontSize: 12
|
fontSize: 12
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user