@@ -29,7 +29,13 @@ import { validateAccessors } from "./validate.js";
29
29
/** All properties supported by GeoArrowScatterplotLayer */
30
30
export type GeoArrowIconLayerProps = Omit <
31
31
IconLayerProps < arrow . Table > ,
32
- "data" | "getPosition" | "getRadius" | "getFillColor" | "getLineColor" | "iconAtlas" | "iconMapping"
32
+ | "data"
33
+ | "getPosition"
34
+ | "getRadius"
35
+ | "getFillColor"
36
+ | "getLineColor"
37
+ | "iconAtlas"
38
+ | "iconMapping"
33
39
> &
34
40
_GeoArrowIconLayerPropsProps &
35
41
CompositeLayerProps ;
@@ -115,10 +121,7 @@ export class GeoArrowIconLayer<
115
121
return this . _renderLayersPoint ( geometryColumn ) ;
116
122
}
117
123
118
- throw new Error (
119
- "getPosition should pass in an arrow Vector of Point" ,
120
- ) ;
121
-
124
+ throw new Error ( "getPosition should pass in an arrow Vector of Point" ) ;
122
125
} else {
123
126
const pointVector = getGeometryVector ( table , EXTENSION_NAME . POINT ) ;
124
127
if ( pointVector !== null ) {
@@ -188,12 +191,15 @@ export class GeoArrowIconLayer<
188
191
} ) ;
189
192
}
190
193
191
-
192
194
// @ts -expect-error iconAtlas is an async prop
193
- const iconAtlas = this . props . iconAtlasConfig
195
+ const iconAtlas = this . props . iconAtlasConfig ;
194
196
// @ts -expect-error iconMapping is an async prop
195
- const iconMapping = this . props . iconMapping
196
- const props_ = { ...this . getSubLayerProps ( props ) , iconAtlas, iconMapping }
197
+ const iconMapping = this . props . iconMapping ;
198
+ const props_ = {
199
+ ...this . getSubLayerProps ( props ) ,
200
+ iconAtlas,
201
+ iconMapping,
202
+ } ;
197
203
const layer = new IconLayer ( props_ ) ;
198
204
layers . push ( layer ) ;
199
205
}
0 commit comments