@@ -17,7 +17,7 @@ const inv255 = 1 / 255;
1717const canvas = ( typeof document !== 'undefined' ) ? document . createElement ( 'canvas' ) : { } ;
1818const style_properties = { } ;
1919
20- function base_altitudeDefault ( properties , ctx ) {
20+ function baseAltitudeDefault ( properties , ctx ) {
2121 return ctx ?. coordinates ?. z || ctx ?. collection ?. center ?. z || 0 ;
2222}
2323
@@ -581,23 +581,23 @@ class Style {
581581 defineStyleProperty ( this , 'fill' , 'color' , params . fill . color ) ;
582582 defineStyleProperty ( this , 'fill' , 'opacity' , params . fill . opacity , 1.0 ) ;
583583 defineStyleProperty ( this , 'fill' , 'pattern' , params . fill . pattern ) ;
584- defineStyleProperty ( this , 'fill' , 'base_altitude' , params . fill . base_altitude , base_altitudeDefault ) ;
584+ defineStyleProperty ( this , 'fill' , 'base_altitude' , params . fill . base_altitude , baseAltitudeDefault ) ;
585585 defineStyleProperty ( this , 'fill' , 'extrusion_height' , params . fill . extrusion_height ) ;
586586
587587 this . stroke = { } ;
588588 defineStyleProperty ( this , 'stroke' , 'color' , params . stroke . color ) ;
589589 defineStyleProperty ( this , 'stroke' , 'opacity' , params . stroke . opacity , 1.0 ) ;
590590 defineStyleProperty ( this , 'stroke' , 'width' , params . stroke . width , 1.0 ) ;
591591 defineStyleProperty ( this , 'stroke' , 'dasharray' , params . stroke . dasharray , [ ] ) ;
592- defineStyleProperty ( this , 'stroke' , 'base_altitude' , params . stroke . base_altitude , base_altitudeDefault ) ;
592+ defineStyleProperty ( this , 'stroke' , 'base_altitude' , params . stroke . base_altitude , baseAltitudeDefault ) ;
593593
594594 this . point = { } ;
595595 defineStyleProperty ( this , 'point' , 'color' , params . point . color ) ;
596596 defineStyleProperty ( this , 'point' , 'line' , params . point . line ) ;
597597 defineStyleProperty ( this , 'point' , 'opacity' , params . point . opacity , 1.0 ) ;
598598 defineStyleProperty ( this , 'point' , 'radius' , params . point . radius , 2.0 ) ;
599599 defineStyleProperty ( this , 'point' , 'width' , params . point . width , 0.0 ) ;
600- defineStyleProperty ( this , 'point' , 'base_altitude' , params . point . base_altitude , base_altitudeDefault ) ;
600+ defineStyleProperty ( this , 'point' , 'base_altitude' , params . point . base_altitude , baseAltitudeDefault ) ;
601601 defineStyleProperty ( this , 'point' , 'model' , params . point . model ) ;
602602
603603 this . text = { } ;
0 commit comments