Add icon and color examples

This commit is contained in:
Steph Ango
2025-10-06 12:26:16 -07:00
parent 35002d844a
commit 47d391cc50
3 changed files with 14 additions and 1 deletions

View File

@@ -4,8 +4,8 @@ categories:
tags:
- places
type:
- "[[Shrines]]"
- "[[Parks]]"
- "[[Shrines]]"
loc:
- "[[Kyoto]]"
- "[[Japan]]"

View File

@@ -1,6 +1,8 @@
---
tags:
- places/types
icon: trees
color: green
---
## Places

View File

@@ -2,6 +2,9 @@ filters:
and:
- categories.contains(link("Places"))
- '!file.name.contains("Template")'
formulas:
Icon: list(type)[0].asFile().properties.icon
Color: list(type)[0].asFile().properties.color
properties:
note.type:
displayName: Type
@@ -22,6 +25,7 @@ views:
- loc
- type
- last
- formula.Icon
sort:
- property: last
direction: DESC
@@ -31,6 +35,8 @@ views:
direction: ASC
defaultZoom: 2
coordinates: note.coordinates
markerIcon: formula.Icon
markerColor: formula.Color
- type: map
name: Location
filters:
@@ -53,6 +59,8 @@ views:
note.type: 199
coordinates: note.coordinates
defaultZoom: 10.6
markerIcon: formula.Icon
markerColor: formula.Color
- type: map
name: Type
filters:
@@ -62,6 +70,7 @@ views:
- file.name
- rating
- type
- formula.Color
sort:
- property: last
direction: DESC
@@ -76,3 +85,5 @@ views:
note.type: 199
coordinates: note.coordinates
defaultZoom: 3.1
markerIcon: formula.Icon
markerColor: formula.Color