File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ class BackgroundLayer extends Layer {
8484 ? (map["paint" ]["background-opacity" ] as num ? )? .toDouble ()
8585 : null ,
8686 backgroundPattern: map["paint" ]["background-pattern" ] is String ?
87- ? map["layout " ]["background-pattern" ] as String ?
87+ ? map["paint " ]["background-pattern" ] as String ?
8888 : null ,
8989 );
9090 }
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ class FillExtrusionLayer extends Layer {
144144 ? (map["paint" ]["fill-extrusion-opacity" ] as num ? )? .toDouble ()
145145 : null ,
146146 fillExtrusionPattern: map["paint" ]["fill-extrusion-pattern" ] is String ?
147- ? map["layout " ]["fill-extrusion-pattern" ] as String ?
147+ ? map["paint " ]["fill-extrusion-pattern" ] as String ?
148148 : null ,
149149 fillExtrusionTranslate:
150150 (map["paint" ]["fill-extrusion-translate" ] as List ? )
@@ -161,7 +161,7 @@ class FillExtrusionLayer extends Layer {
161161 .contains (map["paint" ]["fill-extrusion-translate-anchor" ])),
162162 fillExtrusionVerticalGradient:
163163 map["paint" ]["fill-extrusion-vertical-gradient" ] is bool ?
164- ? map["layout " ]["fill-extrusion-vertical-gradient" ] as bool ?
164+ ? map["paint " ]["fill-extrusion-vertical-gradient" ] as bool ?
165165 : null ,
166166 );
167167 }
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ class FillLayer extends Layer {
133133 ? (map["layout" ]["fill-sort-key" ] as num ? )? .toDouble ()
134134 : null ,
135135 fillAntialias: map["paint" ]["fill-antialias" ] is bool ?
136- ? map["layout " ]["fill-antialias" ] as bool ?
136+ ? map["paint " ]["fill-antialias" ] as bool ?
137137 : null ,
138138 fillColor: (map["paint" ]["fill-color" ] as List ? )? .toRGBAInt (),
139139 fillOpacity: map["paint" ]["fill-opacity" ] is num ?
@@ -142,7 +142,7 @@ class FillLayer extends Layer {
142142 fillOutlineColor:
143143 (map["paint" ]["fill-outline-color" ] as List ? )? .toRGBAInt (),
144144 fillPattern: map["paint" ]["fill-pattern" ] is String ?
145- ? map["layout " ]["fill-pattern" ] as String ?
145+ ? map["paint " ]["fill-pattern" ] as String ?
146146 : null ,
147147 fillTranslate: (map["paint" ]["fill-translate" ] as List ? )
148148 ? .map <double ?>((e) => e.toDouble ())
Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ class LineLayer extends Layer {
235235 ? (map["paint" ]["line-opacity" ] as num ? )? .toDouble ()
236236 : null ,
237237 linePattern: map["paint" ]["line-pattern" ] is String ?
238- ? map["layout " ]["line-pattern" ] as String ?
238+ ? map["paint " ]["line-pattern" ] as String ?
239239 : null ,
240240 lineTranslate: (map["paint" ]["line-translate" ] as List ? )
241241 ? .map <double ?>((e) => e.toDouble ())
You can’t perform that action at this time.
0 commit comments