Skip to content

Commit

Permalink
Update default style.
Browse files Browse the repository at this point in the history
  • Loading branch information
josephbirkner committed Sep 4, 2024
1 parent 23d52c0 commit a9d918c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion cmake/cesium.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ FetchContent_Declare(cesiumnative_src
GIT_TAG "main"
GIT_SUBMODULES_RECURSE YES
GIT_PROGRESS YES
PATCH_COMMAND git reset --hard HEAD && git -C extern/draco reset --hard HEAD && git apply "${CMAKE_CURRENT_SOURCE_DIR}/cmake/draco.patch"
PATCH_COMMAND git reset --hard HEAD && git -C extern/draco reset --hard HEAD && git apply "${CMAKE_CURRENT_SOURCE_DIR}/cmake/cesium.patch"
UPDATE_DISCONNECTED YES
UPDATE_COMMAND "")

Expand Down
File renamed without changes.
20 changes: 10 additions & 10 deletions config/styles/default-style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,19 @@ options:
rules:
# Normal styles
- geometry: ["mesh", "polygon"]
filter: "showMesh"
filter: showMesh
color: teal
opacity: 0.8
offset: [0, 0, -0.5]
- geometry: ["point"]
filter: "showPoint"
color: moccasin
point-merge-grid-cell: [0.000000084, 0.000000084, 0.01]
filter: showPoint
color-expression: "$mergeCount > 1 and 'red' or 'moccasin'"
opacity: 1.0
width: 1.0
width: 10.0
# label-text-expression: "$mergeCount"
- geometry: ["line"]
filter: "showLine"
filter: showLine
color: moccasin
opacity: 1.0
width: 5.0
Expand All @@ -32,20 +34,18 @@ rules:
opacity: 1.0
width: 4.0
mode: hover
offset: [0, 0, -0.5]
- geometry: ["point", "line"]
color: yellow
opacity: 1.0
width: 4.0
width: 20.0
mode: hover
- geometry: ["mesh", "polygon"]
color: red
opacity: 1.0
width: 4.0
mode: selection
offset: [0, 0, -0.5]
- geometry: ["point", "line"]
color: red
color: yellow
opacity: 1.0
width: 4.0
width: 20.0
mode: selection

0 comments on commit a9d918c

Please sign in to comment.