Skip to content

Commit

Permalink
feat: allow billboard in points-circle guides layer (#835)
Browse files Browse the repository at this point in the history
* feat: pass billboard prop to points-circle and points-icon guides layer
  • Loading branch information
radoslavirha authored Dec 12, 2022
1 parent 1da3c15 commit ce4f645
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/layers/src/layers/editable-geojson-layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,7 @@ export default class EditableGeoJsonLayer extends EditableLayer<
getSize: guideAccessor(this.props.getEditHandleIconSize),
getColor: guideAccessor(this.props.getEditHandleIconColor),
getAngle: guideAccessor(this.props.getEditHandleIconAngle),
billboard: this.props.billboard,
};
} else {
subLayerProps['points-circle'] = {
Expand All @@ -515,6 +516,7 @@ export default class EditableGeoJsonLayer extends EditableLayer<
getRadius: guideAccessor(this.props.getEditHandlePointRadius),
getFillColor: guideAccessor(this.props.getEditHandlePointColor),
getLineColor: guideAccessor(this.props.getEditHandlePointOutlineColor),
billboard: this.props.billboard,
};
}

Expand Down

0 comments on commit ce4f645

Please sign in to comment.