matrix-react-sdk
Version:
SDK for matrix.org using React
5 lines (4 loc) • 358 B
TypeScript
import * as maplibregl from "maplibre-gl";
import { MatrixClient } from "matrix-js-sdk/src/matrix";
export declare const createMap: (client: MatrixClient, interactive: boolean, bodyId: string, onError?: (error: Error) => void) => maplibregl.Map;
export declare const createMarker: (coords: GeolocationCoordinates, element: HTMLElement) => maplibregl.Marker;