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.

Ancestors

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_camera

Reads the projection’s camera.

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

Finds the coordinate at a screen point.

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_pixel_for_lat_lng

Finds the screen point of a coordinate.

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.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

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.

Class structure

struct MaplibreNativeFfiMapProjectionClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.