Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

Commit

Permalink
feat: add "clamp to ground" option to file primitive (#95)
Browse files Browse the repository at this point in the history
* feat: update manifest file(file's clamp field)

* Update pkg/builtin/manifest.yml

Co-authored-by: KaWaite <34051327+KaWaite@users.noreply.github.com>

* Update pkg/builtin/manifest_ja.yml

Co-authored-by: rot1024 <aayhrot@gmail.com>

Co-authored-by: KaWaite <34051327+KaWaite@users.noreply.github.com>
Co-authored-by: rot1024 <aayhrot@gmail.com>
  • Loading branch information
3 people authored Jan 21, 2022
1 parent 0d112c5 commit 5591948
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions pkg/builtin/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1144,6 +1144,11 @@ extensions:
label: GeoJSON / TopoJSON
- key: czml
label: CZML
- id: clampToGround
type: bool
title: Clamp to ground
description: Option to attach the primitive to the ground (keeps primitive on top of the map even with terrain enabled).
defaultValue: false
- id: textblock
type: block
name: Text
Expand Down
3 changes: 3 additions & 0 deletions pkg/builtin/manifest_ja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,9 @@ extensions:
kml: KML
geojson: GeoJSON / TopoJSON
czml: CZML
clampToGround:
title: 地表に固定
description: 地表の凹凸に沿うようにポリゴンなどのデータを表示します。
textblock:
name: テキスト
description: Text block
Expand Down
2 changes: 1 addition & 1 deletion pkg/plugin/manifest/schema_gen.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package manifest

// generated by "/var/folders/lz/nhqy382n28g31wb4f_40gbmc0000gp/T/go-build612118365/b001/exe/schematyper -o schema_gen.go --package manifest ../../../schemas/plugin_manifest.json" -- DO NOT EDIT
// generated by "/var/folders/lz/nhqy382n28g31wb4f_40gbmc0000gp/T/go-build773179862/b001/exe/schematyper -o schema_gen.go --package manifest ../../../schemas/plugin_manifest.json" -- DO NOT EDIT

type Choice struct {
Icon string `json:"icon,omitempty"`
Expand Down

0 comments on commit 5591948

Please sign in to comment.