vue-tianditu2
Version:
61 lines (60 loc) • 1.96 kB
TypeScript
import { PropType } from 'vue';
import { DefineEmits, DefineProps, LngLats } from '../../../utils/types';
export declare const NATIVE_PROPS: {
/** 海量点的预设形状 */
ShapeType: {
type: PropType<T.CloudMarkerCollectionOptions["ShapeType"]>;
default: string;
};
/** 海量点的预设尺寸 */
SizeType: {
type: PropType<T.CloudMarkerCollectionOptions["SizeType"]>;
default: string;
};
/** 海量点的颜色,默认为'#fa937e' */
color: {
type: StringConstructor;
default: string;
};
};
export declare const EXTRA_PROPS: {
/** 在地图上展示的点坐标集合 */
lnglats: {
type: PropType<LngLats>;
default: () => never[];
};
};
export declare const NATIVE_EVENTS: T.CloudMarkerCollectionEvents;
export declare const EXTRA_EVENTS: {
init: (e: T.CloudMarkerCollection) => boolean;
};
export declare const PROPS: {
/** 在地图上展示的点坐标集合 */
lnglats: {
type: PropType<LngLats>;
default: () => never[];
};
/** 海量点的预设形状 */
ShapeType: {
type: PropType<T.CloudMarkerCollectionOptions["ShapeType"]>;
default: string;
};
/** 海量点的预设尺寸 */
SizeType: {
type: PropType<T.CloudMarkerCollectionOptions["SizeType"]>;
default: string;
};
/** 海量点的颜色,默认为'#fa937e' */
color: {
type: StringConstructor;
default: string;
};
};
export declare const EVENTS: {
init: (e: T.CloudMarkerCollection) => boolean;
click: (e: T.OverlayEvent<T.CloudMarkerCollection, T.LngLat, T.Overlay>) => void;
mouseover: (e: T.OverlayEvent<T.CloudMarkerCollection, T.LngLat, T.Overlay>) => void;
mouseout: (e: T.OverlayEvent<T.CloudMarkerCollection, T.LngLat, T.Overlay>) => void;
};
export type Props = DefineProps<typeof PROPS>;
export type Emit = DefineEmits<typeof EVENTS>;