Class
MaplibreNativeFfiMapOptions
Description [src]
final class MaplibreNativeFfi.MapOptions : GObject.Object
{
/* No available fields */
}
Options for maplibre_native_ffi_runtime_create_map().
A member that a has_ method reports on is unset until its property or
setter sets it.
See mln_map_options in the
C API reference.
Constructors
maplibre_native_ffi_map_options_new
Creates a MaplibreNativeFfiMapOptions whose members are zero, empty, or unset.
Instance methods
maplibre_native_ffi_map_options_get_fast_pfor_enabled
Gets MaplibreNativeFfiMapOptions:fast-pfor-enabled.
maplibre_native_ffi_map_options_get_tile_cache_enabled
Gets MaplibreNativeFfiMapOptions:tile-cache-enabled.
maplibre_native_ffi_map_options_has_event_mask
Whether MaplibreNativeFfiMapOptions:event-mask is set.
maplibre_native_ffi_map_options_has_tile_cache_enabled
Whether MaplibreNativeFfiMapOptions:tile-cache-enabled is set.
maplibre_native_ffi_map_options_set_fast_pfor_enabled
Sets MaplibreNativeFfiMapOptions:fast-pfor-enabled.
maplibre_native_ffi_map_options_set_tile_cache_enabled
Sets MaplibreNativeFfiMapOptions:tile-cache-enabled.
Properties
MaplibreNativeFfi.MapOptions:event-mask
The events that the map reports. Without it, the map reports them all.
MaplibreNativeFfi.MapOptions:fast-pfor-enabled
Whether the map decodes MapLibre Tiles (MLT) that use FastPFOR integer encoding. Without it, such tiles fail to load.
MaplibreNativeFfi.MapOptions:initial-extent
The map’s first size, and its scale factor. The scale factor stays fixed for the map’s life, and every render session of the map renders at it.
MaplibreNativeFfi.MapOptions:tile-cache-enabled
Whether the map keeps tiles in memory after they leave the view, so they show again without loading. Without it, the map keeps them.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.