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

Commit

Permalink
feat: change layer indicators from preset list from backend side (#158)
Browse files Browse the repository at this point in the history
* change indicator

* change scale name

* change-feild- name

* change the description

* add-japanese-translation

* Update pkg/builtin/manifest_ja.yml

Co-authored-by: HideBa <49897538+HideBa@users.noreply.github.com>

Co-authored-by: nina992 <nouralali992@gmail.com>
Co-authored-by: HideBa <49897538+HideBa@users.noreply.github.com>
  • Loading branch information
3 people committed Jul 4, 2022
1 parent 5afc81b commit 0267f1d
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
35 changes: 35 additions & 0 deletions pkg/builtin/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,37 @@ extensions:
ui: slider
min: 0
max: 1
- id: indicator
title: Indicator
description: Set the style of indicator shown when selecting a layer on the map.
fields:
- id: indicator_type
type: string
title: Type
defaultValue: default
description: Choose how the indicator will look.
choices:
- key: default
label: Default
- key: crosshair
label: Crosshair
- key: custom
label: Custom
- id: indicator_image
type: url
title: Image URL
ui: image
availableIf:
field: indicator_type
type: string
value: custom
- id: indicator_image_scale
type: number
title: Image scale
availableIf:
field: indicator_type
type: string
value: custom
- id: theme
title: Publish Theme
description: Set your theme.
Expand Down Expand Up @@ -366,6 +397,10 @@ extensions:
type: string
title: Tracking ID
description: Paste your Google Analytics tracking ID here. This will be embedded in your published project.
linkable:
url:
schemaGroupId: indicator
fieldId: indicator_image
- id: infobox
name: Infobox
type: infobox
Expand Down
15 changes: 15 additions & 0 deletions pkg/builtin/manifest_ja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,21 @@ extensions:
tile_opacity:
title: 不透明性
description: NEEDS DESCRIPTION
indicator:
title: インディケーター
description: レイヤー選択時に表示されるインディケーターのスタイルを設定します
fields:
indicator_type:
title: タイプ
description: インディケーターの見た目を設定します
choices:
default: デフォルト
crosshair: 十字線
custom: カスタム
indicator_image:
title: 画像URL
indicator_image_scale:
title: 画像サイズ
atmosphere:
title: 大気
description: 地球を覆う大気圏の設定ができます。
Expand Down

0 comments on commit 0267f1d

Please sign in to comment.