aaronczichon / obsidian-location-plugin

Render a mapbox location image based on provided coordinates
GNU General Public License v3.0
5 stars 1 forks source link

Add support for commands #22

Open aaronczichon opened 6 months ago

aaronczichon commented 6 months ago

Description

It would be nice to add a location directly to the current editor file using the command palette.

Expectation

I can open the command palette using a command like Insert current location and the codeblock for the plugin is automatically generated using the geolocation API of the browser.

Hints

aaronczichon commented 1 month ago

Current location is not possible as Geolocation API is not available in Obsidian context. But we can provide other features via the command palette.

aaronczichon commented 1 month ago

The current marker draft includes a command for every size. We should open an modal instead and let the user pick the setting he/she wants.

aaronczichon commented 1 month ago

Implemented into branch feature/v2.