@@ -17,7 +17,7 @@ const inv255 = 1 / 255;
17
17
const canvas = ( typeof document !== 'undefined' ) ? document . createElement ( 'canvas' ) : { } ;
18
18
const style_properties = { } ;
19
19
20
- function base_altitudeDefault ( properties , ctx ) {
20
+ function baseAltitudeDefault ( properties , ctx ) {
21
21
return ctx ?. coordinates ?. z || ctx ?. collection ?. center ?. z || 0 ;
22
22
}
23
23
@@ -581,23 +581,23 @@ class Style {
581
581
defineStyleProperty ( this , 'fill' , 'color' , params . fill . color ) ;
582
582
defineStyleProperty ( this , 'fill' , 'opacity' , params . fill . opacity , 1.0 ) ;
583
583
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 ) ;
585
585
defineStyleProperty ( this , 'fill' , 'extrusion_height' , params . fill . extrusion_height ) ;
586
586
587
587
this . stroke = { } ;
588
588
defineStyleProperty ( this , 'stroke' , 'color' , params . stroke . color ) ;
589
589
defineStyleProperty ( this , 'stroke' , 'opacity' , params . stroke . opacity , 1.0 ) ;
590
590
defineStyleProperty ( this , 'stroke' , 'width' , params . stroke . width , 1.0 ) ;
591
591
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 ) ;
593
593
594
594
this . point = { } ;
595
595
defineStyleProperty ( this , 'point' , 'color' , params . point . color ) ;
596
596
defineStyleProperty ( this , 'point' , 'line' , params . point . line ) ;
597
597
defineStyleProperty ( this , 'point' , 'opacity' , params . point . opacity , 1.0 ) ;
598
598
defineStyleProperty ( this , 'point' , 'radius' , params . point . radius , 2.0 ) ;
599
599
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 ) ;
601
601
defineStyleProperty ( this , 'point' , 'model' , params . point . model ) ;
602
602
603
603
this . text = { } ;
0 commit comments