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

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

The newest version!
import * as React from 'react';
import type { MarkerEvent, MarkerDragEvent, PointLike, MarkerInstance } from '../types';
export declare type MarkerProps = OptionsT & {
    /** Longitude of the anchor location */
    longitude: number;
    /** Latitude of the anchor location */
    latitude: number;
    draggable?: boolean;
    offset?: PointLike;
    pitchAlignment?: string;
    rotation?: number;
    rotationAlignment?: string;
    popup?: any;
    /** CSS style override, applied to the control's container */
    style?: React.CSSProperties;
    onClick?: (e: MarkerEvent) => void;
    onDragStart?: (e: MarkerDragEvent) => void;
    onDrag?: (e: MarkerDragEvent) => void;
    onDragEnd?: (e: MarkerDragEvent) => void;
    children?: React.ReactNode;
};
declare const _default: React.MemoExoticComponent) => void;
    onDragStart?: (e: MarkerDragEvent) => void;
    onDrag?: (e: MarkerDragEvent) => void;
    onDragEnd?: (e: MarkerDragEvent) => void;
    children?: React.ReactNode;
} & React.RefAttributes>>;
export default _default;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy