Class
MaplibreNativeFfiMapProjection
Description [src]
final class MaplibreNativeFfi.MapProjection : GObject.Object
{
/* No available fields */
}
A camera view for converting between screen points and coordinates.
See mln_map_projection in the
C API reference.
Constructors
maplibre_native_ffi_map_projection_create
Creates a projection that converts coordinates for one view of a map.
Instance methods
maplibre_native_ffi_map_projection_get_id
The handle’s ID, which runtime events name as their source.
maplibre_native_ffi_map_projection_lat_lng_for_pixel_unwrapped
Finds the coordinate at a screen point, without wrapping its longitude.
maplibre_native_ffi_map_projection_lat_lngs_for_pixels
Finds the coordinates at several screen points, as
maplibre_native_ffi_map_projection_lat_lng_for_pixel() does.
maplibre_native_ffi_map_projection_lat_lngs_for_pixels_unwrapped
Finds the coordinates at several screen points, as
maplibre_native_ffi_map_projection_lat_lng_for_pixel_unwrapped() does.
maplibre_native_ffi_map_projection_meters_per_pixel_at_latitude
Computes how many meters one screen pixel covers at latitude, at the
projection’s zoom.
maplibre_native_ffi_map_projection_pixels_for_lat_lngs
Finds the screen points of several coordinates, as
maplibre_native_ffi_map_projection_pixel_for_lat_lng() does.
maplibre_native_ffi_map_projection_set_camera
Moves the projection’s camera, without changing the map.
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.