Your Name
2022-03-14 aaebe147d319e59a8b510ff4ce9271088a330732
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
 * @Author: your name
 * @Date: 2021-12-06 11:07:11
 * @LastEditTime: 2021-12-15 17:56:07
 * @LastEditors: your name
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \huizhi-sdk\src\components\Map\libs\draw.js
 */
export const DrawOption = {
  polygon: {
    color: '#FFFF00',
    outline: true,
    outlineColor: '#FFFF00',
    outlineWidth: 2,
    opacity: 0.3,
    perPositionHeight: false,
  },
  polyline: {
    color: '#3388ff',
    width: 3,
    lineType: 'solid',
    outline: false,
    outlineColor: '#ffffff',
    outlineWidth: '1.0',
    opacity: 1,
  },
  route: {
    color: '#3388ff',
    width: 3,
    lineType: 'solid',
    outline: false,
    outlineColor: '#ffffff',
    outlineWidth: '1.0',
    opacity: 1,
  },
  icon: {
    image: './images/icons/1.png',
    scale: 0.5,
  },
  label: {
    opacity: 1,
    color: '#FFFFFF',
    font_family: 'microsoft yahei, arial, simsun',
    font_size: 16,
    font_style: 'normal',
    font_weight: 'normal',
    border: false,
    border_color: '#ffffff',
    border_width: 1,
    background: true,
    background_color: 'rgba(0, 0, 0, .8)',
  },
};