Note
Requires Obsidian 1.10.0+. This project demonstrates the new Obsidian Bases API that allows plugin developers to create new view types.
Adds a map layout to Obsidian Bases so you can display notes as an interactive map view.
- Dynamically display markers that match your filters.
- Use marker icons and colors defined by properties.
- Load custom background tiles.
- Define default zoom options.
Open the example files in Obsidian to see working map views with markers, icons, and colors already configured.
To display markers on the map go to the view configuration menu and select a marker property. The property must contain latitude and longitude coordinates. The following formats are accepted:
# Text property
coordinates: "lat, lng"
# List property
coordinates:
- "lat"
- "lng"If you store coordinates as separate latitude and longitude properties you can combine them with a formula property by defining it as an array of coordinates: [latitude, longitude].
You can add icons from Obsidian's built-in Lucide library to markers.
You can define colors. Accepts values as RGB rgb(0,0,0), HEX #000, or CSS variables like var(--color-blue).
