Skip to content

Commit

Permalink
chore(web): update default layer style (#754)
Browse files Browse the repository at this point in the history
  • Loading branch information
pyshx authored Oct 23, 2023
1 parent 4646742 commit c1c3dee
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions web/src/beta/utils/value.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,9 @@ export const zeroValues: { [key in ValueType]?: ValueTypes[ValueType] } = {
};

export const DEFAULT_LAYER_STYLE: Partial<LayerAppearanceTypes> = {
"3dtiles": {
show: true,
},
resource: {
clampToGround: true,
},
Expand All @@ -242,4 +245,10 @@ export const DEFAULT_LAYER_STYLE: Partial<LayerAppearanceTypes> = {
polyline: {
clampToGround: true,
},
model: {
heightReference: "clamp",
},
ellipsoid: {
heightReference: "clamp",
},
};

0 comments on commit c1c3dee

Please sign in to comment.