Struct
MaplibreNativeFfiStyleLayerInfo
Description [src]
struct MaplibreNativeFfiStyleLayerInfo {
/* No available fields */
}
A layer in the map’s style.
See mln_style_layer_info in the
C API reference.
Constructors
maplibre_native_ffi_style_layer_info_new
Creates a MaplibreNativeFfiStyleLayerInfo whose members are zero or empty.
Instance methods
maplibre_native_ffi_style_layer_info_get_layer_type
The layer’s [type](https://maplibre.org/maplibre-style-spec/layers/#type),
such as fill.
maplibre_native_ffi_style_layer_info_get_max_zoom
The zoom level where the layer stops showing, or infinity when the layer doesn’t set one.
maplibre_native_ffi_style_layer_info_get_min_zoom
The zoom level where the layer starts to show, or negative infinity when the layer doesn’t set one.