Add icon and color examples
This commit is contained in:
@@ -4,8 +4,8 @@ categories:
|
|||||||
tags:
|
tags:
|
||||||
- places
|
- places
|
||||||
type:
|
type:
|
||||||
- "[[Shrines]]"
|
|
||||||
- "[[Parks]]"
|
- "[[Parks]]"
|
||||||
|
- "[[Shrines]]"
|
||||||
loc:
|
loc:
|
||||||
- "[[Kyoto]]"
|
- "[[Kyoto]]"
|
||||||
- "[[Japan]]"
|
- "[[Japan]]"
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
---
|
---
|
||||||
tags:
|
tags:
|
||||||
- places/types
|
- places/types
|
||||||
|
icon: trees
|
||||||
|
color: green
|
||||||
---
|
---
|
||||||
|
|
||||||
## Places
|
## Places
|
||||||
|
|||||||
@@ -2,6 +2,9 @@ filters:
|
|||||||
and:
|
and:
|
||||||
- categories.contains(link("Places"))
|
- categories.contains(link("Places"))
|
||||||
- '!file.name.contains("Template")'
|
- '!file.name.contains("Template")'
|
||||||
|
formulas:
|
||||||
|
Icon: list(type)[0].asFile().properties.icon
|
||||||
|
Color: list(type)[0].asFile().properties.color
|
||||||
properties:
|
properties:
|
||||||
note.type:
|
note.type:
|
||||||
displayName: Type
|
displayName: Type
|
||||||
@@ -22,6 +25,7 @@ views:
|
|||||||
- loc
|
- loc
|
||||||
- type
|
- type
|
||||||
- last
|
- last
|
||||||
|
- formula.Icon
|
||||||
sort:
|
sort:
|
||||||
- property: last
|
- property: last
|
||||||
direction: DESC
|
direction: DESC
|
||||||
@@ -31,6 +35,8 @@ views:
|
|||||||
direction: ASC
|
direction: ASC
|
||||||
defaultZoom: 2
|
defaultZoom: 2
|
||||||
coordinates: note.coordinates
|
coordinates: note.coordinates
|
||||||
|
markerIcon: formula.Icon
|
||||||
|
markerColor: formula.Color
|
||||||
- type: map
|
- type: map
|
||||||
name: Location
|
name: Location
|
||||||
filters:
|
filters:
|
||||||
@@ -53,6 +59,8 @@ views:
|
|||||||
note.type: 199
|
note.type: 199
|
||||||
coordinates: note.coordinates
|
coordinates: note.coordinates
|
||||||
defaultZoom: 10.6
|
defaultZoom: 10.6
|
||||||
|
markerIcon: formula.Icon
|
||||||
|
markerColor: formula.Color
|
||||||
- type: map
|
- type: map
|
||||||
name: Type
|
name: Type
|
||||||
filters:
|
filters:
|
||||||
@@ -62,6 +70,7 @@ views:
|
|||||||
- file.name
|
- file.name
|
||||||
- rating
|
- rating
|
||||||
- type
|
- type
|
||||||
|
- formula.Color
|
||||||
sort:
|
sort:
|
||||||
- property: last
|
- property: last
|
||||||
direction: DESC
|
direction: DESC
|
||||||
@@ -76,3 +85,5 @@ views:
|
|||||||
note.type: 199
|
note.type: 199
|
||||||
coordinates: note.coordinates
|
coordinates: note.coordinates
|
||||||
defaultZoom: 3.1
|
defaultZoom: 3.1
|
||||||
|
markerIcon: formula.Icon
|
||||||
|
markerColor: formula.Color
|
||||||
|
|||||||
Reference in New Issue
Block a user