Skip to content

Commit 35002d8

Browse files
committed
Switch to Obsidian Maps
1 parent b75feb5 commit 35002d8

File tree

10 files changed

+95
-109
lines changed

10 files changed

+95
-109
lines changed

.obsidian/snippets/stock-charts.css

Lines changed: 0 additions & 48 deletions
This file was deleted.

.obsidian/types.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"topics": "multitext",
1313
"rating": "number",
1414
"year": "number",
15-
"location": "multitext",
15+
"coordinates": "multitext",
1616
"model": "text",
1717
"lotsqft": "number",
1818
"isbn13": "number",

Categories/Places.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@
22
tags:
33
- categories
44
---
5-
```leaflet
6-
id: places
7-
markerTag: places
8-
maxZoom:15
9-
height:400px
10-
```
11-
12-
## Places
135

6+
![[Map.base]]
147
![[Places.base]]

References/Fushimi Inari.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ loc:
1111
- "[[Japan]]"
1212
rating: 7
1313
created: 2023-09-12
14-
location:
14+
coordinates:
1515
- "34.9689499"
1616
- "135.7692576"
1717
---

References/Kyoto.md

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tags:
88
- cities
99
loc:
1010
- "[[Japan]]"
11-
location:
11+
coordinates:
1212
- "35.021041"
1313
- "135.7556075"
1414
rating: 7
@@ -18,19 +18,7 @@ created: 2023-09-12
1818

1919
![[Trips.base#Location]]
2020

21-
## Map
22-
23-
```leaflet
24-
id: kyoto
25-
minZoom: 7
26-
maxZoom: 20
27-
defaultZoom: 11
28-
markerTag:
29-
- places
30-
height: 400px
31-
coordinates: [[Kyoto]]
32-
```
33-
3421
## Places
3522

23+
![[Map.base#Location]]
3624
![[Places.base#Location]]

References/Parks.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
tags:
3+
- places/types
4+
---
5+
6+
## Places
7+
8+
![[Map.base#Type]]
9+
![[Places.base#Type]]

Templates/Bases/Map.base

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
filters:
2+
and:
3+
- categories.contains(link("Places"))
4+
- '!file.name.contains("Template")'
5+
properties:
6+
note.type:
7+
displayName: Type
8+
note.rating:
9+
displayName: Rating
10+
note.loc:
11+
displayName: Location
12+
file.name:
13+
displayName: Name
14+
note.last:
15+
displayName: Last
16+
views:
17+
- type: map
18+
name: Map
19+
order:
20+
- file.name
21+
- rating
22+
- loc
23+
- type
24+
- last
25+
sort:
26+
- property: last
27+
direction: DESC
28+
- property: type
29+
direction: ASC
30+
- property: loc
31+
direction: ASC
32+
defaultZoom: 2
33+
coordinates: note.coordinates
34+
- type: map
35+
name: Location
36+
filters:
37+
or:
38+
- list(loc).contains(this)
39+
- list(loc).containsAny(this.related)
40+
order:
41+
- file.name
42+
sort:
43+
- property: last
44+
direction: DESC
45+
- property: type
46+
direction: ASC
47+
- property: loc
48+
direction: ASC
49+
columnSize:
50+
file.name: 162
51+
note.rating: 84
52+
note.loc: 145
53+
note.type: 199
54+
coordinates: note.coordinates
55+
defaultZoom: 10.6
56+
- type: map
57+
name: Type
58+
filters:
59+
and:
60+
- list(type).contains(this)
61+
order:
62+
- file.name
63+
- rating
64+
- type
65+
sort:
66+
- property: last
67+
direction: DESC
68+
- property: type
69+
direction: ASC
70+
- property: loc
71+
direction: ASC
72+
columnSize:
73+
file.name: 162
74+
note.rating: 84
75+
note.loc: 145
76+
note.type: 199
77+
coordinates: note.coordinates
78+
defaultZoom: 3.1

Templates/City Template.md

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,15 @@ loc:
1010
rating:
1111
created: {{date}}
1212
last:
13-
location:
13+
coordinates:
1414
- "35.021041"
1515
- "135.7556075"
1616
---
1717
## Trips
1818

1919
![[Trips.base#Location]]
2020

21-
## Map
22-
23-
```leaflet
24-
id: kyoto
25-
minZoom: 10
26-
maxZoom: 20
27-
defaultZoom: 12
28-
markerTag:
29-
- places
30-
height: 400px
31-
coordinates: [[Kyoto]]
32-
```
33-
3421
## Places
3522

23+
![[Map.base#Location]]
3624
![[Places.base#Location]]

Templates/Map Template.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

Templates/Place Type Template.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,7 @@ tags:
33
- places/types
44
---
55

6-
```leaflet
7-
id: restaurants
8-
linksTo: [[Pizzerias]]
9-
minZoom: 3
10-
maxZoom: 20
11-
defaultZoom: 3
12-
height: 400px
13-
```
14-
156
## Places
167

8+
![[Map.base#Type]]
179
![[Places.base#Type]]

0 commit comments

Comments
 (0)