import type { PropKey } from './types'; import { toLngLat } from '../../utils/toLngLat'; /** 静态属性 */ export const StaticProps: PropKey[] = [ 'closeButton', 'closeOnClick', 'closeOnMove', 'focusAfterOpen', 'anchor', 'className', ]; /** 动态属性 */ export const NativeDynamicProps: PropKey[] = [ 'offset', 'maxWidth', 'altitude', 'lngLat', ]; export const allProps = NativeDynamicProps.concat(StaticProps); export const setterMap = {}; export const converterMap: Partial any>> = { lngLat: toLngLat, };