Only pass the feature to the attribute getter

This commit is contained in:
Tim Schaub
2022-07-21 13:43:53 -07:00
parent bd9e73a534
commit 7e424be66b
8 changed files with 13 additions and 41 deletions

View File

@@ -39,7 +39,7 @@ describe('Batch renderers', function () {
{
name: 'test',
callback: function (feature, properties) {
return properties.test;
return feature.get('test');
},
},
];