@@ -7,6 +7,7 @@ import lineSimpleLine from '../data/styles/line_simpleline';
7
7
import textPlacementLine from '../data/styles/text_placement_line' ;
8
8
import pointIconSimple from '../data/styles/point_icon_simple' ;
9
9
import pointSimplePoint from '../data/styles/point_simplepoint' ;
10
+ import pointOpaquePoint from '../data/styles/point_opaquepoint' ;
10
11
import multiTwoRulesSimplepoint from '../data/styles/multi_twoRulesSimplepoint' ;
11
12
import filterSimpleFilter from '../data/styles/filter_simpleFilter' ;
12
13
import filterNestedFilter from '../data/styles/filter_nestedFilter' ;
@@ -16,6 +17,7 @@ import ol_line_simpleline from '../data/olFlatStyles/line_simpleline';
16
17
import ol_text_placement_line from '../data/olFlatStyles/text_placement_line' ;
17
18
import ol_point_icon_simple from '../data/olFlatStyles/point_icon_simple' ;
18
19
import ol_point_simplepoint from '../data/olFlatStyles/point_simplepoint' ;
20
+ import ol_point_opaquepoint from '../data/olFlatStyles/point_opaquepoint' ;
19
21
import ol_multi_twoRulesSimplepoint from '../data/olFlatStyles/multi_twoRulesSimplepoint' ;
20
22
import ol_filter_simpleFilter from '../data/olFlatStyles/filter_simpleFilter' ;
21
23
import ol_filter_nestedFilter from '../data/olFlatStyles/filter_nestedFilter' ;
@@ -66,6 +68,12 @@ describe('OlFlatStyleParser implements StyleParser', () => {
66
68
expect ( geostylerStyle ) . toEqual ( pointSimplePoint ) ;
67
69
} ) ;
68
70
71
+ it ( 'reads a FlatCircle style with fill and stroke opacity' , async ( ) => {
72
+ const { output : geostylerStyle } = await styleParser . readStyle ( ol_point_opaquepoint ) ;
73
+ expect ( geostylerStyle ) . toBeDefined ( ) ;
74
+ expect ( geostylerStyle ) . toEqual ( pointOpaquePoint ) ;
75
+ } ) ;
76
+
69
77
it ( 'reads a style from a FlatStyleArray' , async ( ) => {
70
78
const { output : geostylerStyle } = await styleParser . readStyle ( ol_multi_twoRulesSimplepoint ) ;
71
79
expect ( geostylerStyle ) . toBeDefined ( ) ;
0 commit comments