@mappingfactory/sdk-react
Version:
React SDK for Michelin's Navigation and Mapping Services.
12 lines (11 loc) • 339 B
TypeScript
import { MapLibreWrapper } from '@mappingfactory/sdk-js';
/**
* Loads the MapLibre library and returns the MapLibreWrapper instance.
*
* @param options
* @returns {{ error: Error | null; mapLibre: MapLibreWrapper | null }}}
*/
export declare function useMapLibre(): {
error: Error | null;
mapLibre: MapLibreWrapper | null;
};