Blame view

components/vue-baidu-map/types/point-collection.d.ts 714 Bytes
290144e9   易尊强   第一次
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  import { Point, ShapeType, SizeType } from './base/common'
  
  export declare class PointCollection {
    /**
     * 设置要在地图上展示的点坐标集合
     * @default []
     */
    points: Point[]
    /**
     * 海量点的预设形状
     * @default 'BMAP_POINT_SHAPE_CIRCLE'
     */
    shape: ShapeType
    /**
     * 海量点的颜色,默认为'#fa937e',同时支持颜色字符串,如'red';
     * 哈希字符串'#000000';rgb字符串,如'rgb(0,0,0)’;
     * rgba字符串,如'rgb(255,0,0,0.1)';hsl字符串,如'hsl(0,100%,50%)';
     * hsla字符串,如'hsla(0,100%,50%,0.4)'
     */
    color: string
    /**
     * 海量点的预设尺寸 
     * @default 'BMAP_POINT_SIZE_NORMAL'
     */
    size: SizeType
  }