[Feature Request] Additional configuration options for new file names
We have the ability to use {{query}}. I'd love to simply be able to use the 'name' that results from the query, or to perform some sort of regex on {{query}} itself. Ultimately, I'm trying to make the resulting note just be the location's name as returned in the name field from Google Places data.
This should already exist, but I now see the documentation about this is in a very strange place... See here: https://github.com/esm7/obsidian-map-view?tab=readme-ov-file#adding-a-location-to-a-note
@esm7 Sorry, wasn't very clear in my original comment. I'm talking more about when creating a new file. It seems the only supported templating for that is {{date}} and {{query}}: https://github.com/esm7/obsidian-map-view/blob/241a837d72823b3d97d4acbea06a499ca3636749/src/utils.ts#L76
Using {{query}} results in a nicely formed title like, <Place Name> (<Formatted Address>), but I'd love just <Place Name> if that's possible somehow.
Gotcha. Better templating abilities is a highly requested feature, I'll give it attention once I'm done with the massive work-in-progress 6.0.0 version.