Switch to Obsidian Maps
This commit is contained in:
78
Templates/Bases/Map.base
Normal file
78
Templates/Bases/Map.base
Normal file
@@ -0,0 +1,78 @@
|
||||
filters:
|
||||
and:
|
||||
- categories.contains(link("Places"))
|
||||
- '!file.name.contains("Template")'
|
||||
properties:
|
||||
note.type:
|
||||
displayName: Type
|
||||
note.rating:
|
||||
displayName: Rating
|
||||
note.loc:
|
||||
displayName: Location
|
||||
file.name:
|
||||
displayName: Name
|
||||
note.last:
|
||||
displayName: Last
|
||||
views:
|
||||
- type: map
|
||||
name: Map
|
||||
order:
|
||||
- file.name
|
||||
- rating
|
||||
- loc
|
||||
- type
|
||||
- last
|
||||
sort:
|
||||
- property: last
|
||||
direction: DESC
|
||||
- property: type
|
||||
direction: ASC
|
||||
- property: loc
|
||||
direction: ASC
|
||||
defaultZoom: 2
|
||||
coordinates: note.coordinates
|
||||
- type: map
|
||||
name: Location
|
||||
filters:
|
||||
or:
|
||||
- list(loc).contains(this)
|
||||
- list(loc).containsAny(this.related)
|
||||
order:
|
||||
- file.name
|
||||
sort:
|
||||
- property: last
|
||||
direction: DESC
|
||||
- property: type
|
||||
direction: ASC
|
||||
- property: loc
|
||||
direction: ASC
|
||||
columnSize:
|
||||
file.name: 162
|
||||
note.rating: 84
|
||||
note.loc: 145
|
||||
note.type: 199
|
||||
coordinates: note.coordinates
|
||||
defaultZoom: 10.6
|
||||
- type: map
|
||||
name: Type
|
||||
filters:
|
||||
and:
|
||||
- list(type).contains(this)
|
||||
order:
|
||||
- file.name
|
||||
- rating
|
||||
- type
|
||||
sort:
|
||||
- property: last
|
||||
direction: DESC
|
||||
- property: type
|
||||
direction: ASC
|
||||
- property: loc
|
||||
direction: ASC
|
||||
columnSize:
|
||||
file.name: 162
|
||||
note.rating: 84
|
||||
note.loc: 145
|
||||
note.type: 199
|
||||
coordinates: note.coordinates
|
||||
defaultZoom: 3.1
|
||||
@@ -10,7 +10,7 @@ loc:
|
||||
rating:
|
||||
created: {{date}}
|
||||
last:
|
||||
location:
|
||||
coordinates:
|
||||
- "35.021041"
|
||||
- "135.7556075"
|
||||
---
|
||||
@@ -18,19 +18,7 @@ location:
|
||||
|
||||
![[Trips.base#Location]]
|
||||
|
||||
## Map
|
||||
|
||||
```leaflet
|
||||
id: kyoto
|
||||
minZoom: 10
|
||||
maxZoom: 20
|
||||
defaultZoom: 12
|
||||
markerTag:
|
||||
- places
|
||||
height: 400px
|
||||
coordinates: [[Kyoto]]
|
||||
```
|
||||
|
||||
## Places
|
||||
|
||||
![[Map.base#Location]]
|
||||
![[Places.base#Location]]
|
||||
@@ -1,14 +0,0 @@
|
||||
---
|
||||
tags:
|
||||
- maps
|
||||
---
|
||||
|
||||
```leaflet
|
||||
id: nyc
|
||||
minZoom: 10
|
||||
maxZoom: 20
|
||||
defaultZoom: 12
|
||||
linksTo: [[New York]]
|
||||
height: 400px
|
||||
coordinates: [[New York]]
|
||||
```
|
||||
@@ -3,15 +3,7 @@ tags:
|
||||
- places/types
|
||||
---
|
||||
|
||||
```leaflet
|
||||
id: restaurants
|
||||
linksTo: [[Pizzerias]]
|
||||
minZoom: 3
|
||||
maxZoom: 20
|
||||
defaultZoom: 3
|
||||
height: 400px
|
||||
```
|
||||
|
||||
## Places
|
||||
|
||||
![[Map.base#Type]]
|
||||
![[Places.base#Type]]
|
||||
Reference in New Issue
Block a user