forked from spatialillusions/milgraphics
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.js
45 lines (41 loc) · 1.88 KB
/
index.js
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
/* ***************************************************************************************
Creating the base of milgraphics by importing milsymbol
*************************************************************************************** */
import milsymbol from 'milsymbol';
import Graphic from './src/graphic';
import GraphicsLayer from './src/graphicslayer';
import { geometryConverter } from './src/geometryconverter';
import addSIDCgraphics from './src/ms/addsidcgraphics';
import format from './src/format';
import { geometry } from './src/geometry';
import editor from './src/editor/entityDescription';
import getLetterPropertiesGraphic from './src/letter-sidc/properties';
import getLetterSIDCgraphic from './src/letter-sidc/getgraphic';
import ms2525 from './src/letter-sidc/tactical-2525.js';
import app6 from './src/letter-sidc/tactical-app6.js';
import numberProperties from './src/number-sidc/properties.js';
const ms = {
...milsymbol,
addSIDCgraphics,
format,
geometry,
geometryConverter,
Graphic,
GraphicsLayer,
editor
};
/* ***************************************************************************************
Letter based SIDC
*************************************************************************************** */
ms._getLetterPropertiesGraphic = getLetterPropertiesGraphic;
ms._getLetterSIDCgraphic = getLetterSIDCgraphic;
ms.addSIDCgraphics(ms2525, "letter");
ms.addSIDCgraphics(app6, "letter");
/* ***************************************************************************************
Number based SIDC
*************************************************************************************** */
ms._getNumberPropertiesGraphic = numberProperties;
/* ***************************************************************************************
Export ms to the world
*************************************************************************************** */
export default ms;