You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+13
Original file line number
Diff line number
Diff line change
@@ -232,6 +232,19 @@ Map View adds an Obsidian command named "New geolocation note", which you can ma
232
232
233
233
This opens a dialog on which you can search (address or location based on your [configured geocoding provider](#changing-a-geocoding-provider)) or paste a URL using the built-in or custom [URL parsing rules](#url-parsing-rules).
234
234
235
+
When using Google Maps Places API, templates can extract additional result data.
236
+
For instance, templates that match `googleMapsPlaceData.some.path` will be replaced with the value found at `some.path` in the [JSON serach result](https://developers.google.com/maps/documentation/places/web-service/place-data-fields).
237
+
For instance, the following template would set a [place_id](https://developers.google.com/maps/documentation/places/web-service/place-id) property and tags the note with the [type](https://developers.google.com/maps/documentation/places/web-service/supported_types) of the place:
238
+
239
+
```
240
+
---
241
+
place_id: "{{googleMapsPlaceData.place_id}}"
242
+
---
243
+
#{{googleMapsPlaceData.types.0}}
244
+
```
245
+
246
+
Currently only Google Maps Places API supports this advanced templating feature.
0 commit comments