@@ -365,7 +365,7 @@ export class VectorStyle extends AbstractStyle {
365365
366366 const formatters = formattersDataRequest . getData ( ) ;
367367 return formatters [ fieldName ] ;
368- }
368+ } ;
369369
370370 _getStyleMeta = ( ) => {
371371 return _ . get ( this . _descriptor , '__styleMeta' , { } ) ;
@@ -576,7 +576,13 @@ export class VectorStyle extends AbstractStyle {
576576 return new StaticSizeProperty ( descriptor . options , styleName ) ;
577577 } else if ( descriptor . type === DynamicStyleProperty . type ) {
578578 const field = this . _makeField ( descriptor . options . field ) ;
579- return new DynamicSizeProperty ( descriptor . options , styleName , field , this . _getFieldMeta , this . _getFieldFormatter ) ;
579+ return new DynamicSizeProperty (
580+ descriptor . options ,
581+ styleName ,
582+ field ,
583+ this . _getFieldMeta ,
584+ this . _getFieldFormatter
585+ ) ;
580586 } else {
581587 throw new Error ( `${ descriptor } not implemented` ) ;
582588 }
@@ -589,7 +595,13 @@ export class VectorStyle extends AbstractStyle {
589595 return new StaticColorProperty ( descriptor . options , styleName ) ;
590596 } else if ( descriptor . type === DynamicStyleProperty . type ) {
591597 const field = this . _makeField ( descriptor . options . field ) ;
592- return new DynamicColorProperty ( descriptor . options , styleName , field , this . _getFieldMeta , this . _getFieldFormatter ) ;
598+ return new DynamicColorProperty (
599+ descriptor . options ,
600+ styleName ,
601+ field ,
602+ this . _getFieldMeta ,
603+ this . _getFieldFormatter
604+ ) ;
593605 } else {
594606 throw new Error ( `${ descriptor } not implemented` ) ;
595607 }
0 commit comments