Class Maplibre
Process-global MapLibre Native FFI entry points.
public static class Maplibre
- Inheritance
-
Maplibre
- Inherited Members
Methods
CVersion()
Returns the native C ABI contract version.
public static uint CVersion()
Returns
ClearLogCallback()
Clears the process-global native log callback.
public static void ClearLogCallback()
LatLngForProjectedMeters(ProjectedMeters)
Converts Spherical Mercator projected meters to a geographic coordinate.
public static LatLng LatLngForProjectedMeters(ProjectedMeters meters)
Parameters
metersProjectedMeters
Returns
LoadNativeLibrary()
Loads the native library using the binding's standard lookup order.
public static void LoadNativeLibrary()
LoadNativeLibrary(string)
Loads the native library from an exact file path.
public static void LoadNativeLibrary(string libraryPath)
Parameters
libraryPathstring
NetworkStatus()
Reads MapLibre Native's process-global network status.
public static NetworkStatus NetworkStatus()
Returns
ProjectedMetersForLatLng(LatLng)
Converts a geographic coordinate to Spherical Mercator projected meters.
public static ProjectedMeters ProjectedMetersForLatLng(LatLng coordinate)
Parameters
coordinateLatLng
Returns
RestoreDefaultAsyncLogSeverities()
Restores the native default async log severity mask.
public static void RestoreDefaultAsyncLogSeverities()
SetAsyncLogSeverities(LogSeverityMask)
Configures severities that native logging may dispatch asynchronously.
public static void SetAsyncLogSeverities(LogSeverityMask severities)
Parameters
severitiesLogSeverityMask
SetLogCallback(LogCallback)
Installs or replaces the process-global native log callback.
public static void SetLogCallback(LogCallback callback)
Parameters
callbackLogCallback
SetNetworkStatus(NetworkStatus)
Sets MapLibre Native's process-global network status.
public static void SetNetworkStatus(NetworkStatus status)
Parameters
statusNetworkStatus
SupportedOpenGLContextProviders()
Returns the OpenGL context providers compiled into the native library.
public static OpenGLContextProvider SupportedOpenGLContextProviders()
Returns
SupportedRenderBackends()
Returns the render backends compiled into the native library.
public static RenderBackend SupportedRenderBackends()