pub fn draw_layer(
fb: &mut Framebuffer,
layer: &Value,
zoom: f64,
dem: &DemTiles,
bbox: [f64; 4],
width: u32,
height: u32,
ratio: f64,
nearest: bool,
)Expand description
Draw a hillshade layer from dem into fb (device pixels) for the view
bbox at width × height CSS pixels, scale zoom zoom. nearest: the
source’s texture filter (see source_nearest).