All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.es5.components.map.d.ts Maven / Gradle / Ivy

The newest version!
import * as React from 'react';
import { MapboxProps } from '../mapbox/mapbox';
import { MapRef } from '../mapbox/create-ref';
import type { CSSProperties } from 'react';
import { GlobalSettings } from '../utils/set-globals';
import type { MapLib, MapInstance, MapStyle, Callbacks } from '../types';
export declare type MapContextValue = {
    mapLib: MapLib;
    map: MapRef;
};
export declare const MapContext: React.Context>;
declare type MapInitOptions = Omit;
export declare type MapProps = MapInitOptions & MapboxProps & GlobalSettings & {
    mapLib?: MapLib | Promise>;
    reuseMaps?: boolean;
    /** Map container id */
    id?: string;
    /** Map container CSS style */
    style?: CSSProperties;
    children?: any;
};
export default function Map(props: MapProps, ref: React.Ref>, defaultLib: MapLib | Promise>): JSX.Element;
export {};




© 2015 - 2025 Weber Informatics LLC | Privacy Policy