private void initLayer ( String belowLayer ) { light = style . getLight ( ) ; fillExtrusionLayer = new FillExtrusionLayer ( LAYER_ID , "composite" ) ; fillExtrusionLayer . setSourceLayer ( "building" ) ; fillExtrusionLayer . setMinZoom ( minZoomLevel ) ; fillExtrusionLayer . setProperties ( visibility ( visible ? VISIBLE : NONE ) , fillExtrusionColor ( color ) , fillExtrusionHeight ( interpolate ( exponential ( 1f ) , zoom ( ) , stop ( 15 , literal ( 0 ) ) , stop ( 16 , get ( "height" ) ) ) ) , fillExtrusionOpacity ( opacity ) ) ; addLayer ( fillExtrusionLayer , belowLayer ) ; }
Initialises and adds the fill extrusion layer used by this plugin .