Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
ui-component-library / dist / typings / src / components / atoms / Map / GoogleMap.d.ts
Size: Mime:
import React from 'react';
import { GoogleMapProps } from './typings';
declare class GoogleMap extends React.PureComponent<GoogleMapProps> {
    static defaultProps: {
        className: string;
        qa: string;
        id: string;
        latitude: number;
        longitude: number;
        typeOptions: {
            name: string;
        };
        markerPosition: {
            lat: number;
            lng: number;
        }[];
        styleOptions: ReadonlyArray<any>;
    };
    /**
     * only add global script callback in the browser
     * @todo abstract
     *
     * @note the reason this stopped loading is this triggers on a callback from google
     *       but when we already load google for autosuggest, the callback is never needed
     */
    componentDidMount(): void;
    references: {
        googleMapDomDiv: React.RefObject<{}>;
        googleMap: any;
    };
    loadGoogleAsync: () => Promise<void>;
    readonly googleMapOptions: {
        zoom: number;
        center: {
            lat: React.ReactText;
            lng: React.ReactText;
        };
    };
    /**
     * google essentially wants you to give it a dom element
     * then it will force render itself onto it
     */
    handleGoogleApisLoad(): void;
    render(): JSX.Element;
}
export { GoogleMap };
export default GoogleMap;