Skip to content

Commit

Permalink
Merge pull request #16 from aaronczichon/fix/pr-suggestions
Browse files Browse the repository at this point in the history
fix: suggestions from PR added
  • Loading branch information
aaronczichon authored Apr 25, 2024
2 parents 61ef3de + 44b3e0a commit f9a7a9f
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 9 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ To make the plugin work, after installation you are required to add your Mapbox

![Obsidian location plugin settings](/docs/settings_screenshot.png)

## Data Privacy

This plugin uses mapbox for rendering the map image. You should be aware of the fact that it makes a call to the Mapbox API with the provided latitude and longitude. The plugin does not store any data or send it to any other server except the Mapbox API.

For more data privacy information about Mapbox, please refer to the [Mapbox Privacy Policy](https://www.mapbox.com/privacy/).

## Support

If you like the plugin and want to support the development, you can [buy me a coffee](https://buymeacoffee.com/aaronczichon.de).
Expand Down
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"id": "mapbox-location",
"name": "Mapbox Location Image",
"version": "0.0.0",
"minAppVersion": "0.15.0",
"version": "1.0.3",
"minAppVersion": "1.5.12",
"description": "Show a map inside your notes with a specific format.",
"author": "Aaron Czichon",
"authorUrl": "https://aaronczichon.de",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mapbox-location",
"version": "0.0.0",
"version": "1.0.3",
"description": "Show a map inside your notes with a specific format.",
"main": "main.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default class MapboxPlugin extends Plugin {

el.appendChild(imageElement);
} catch (e) {
console.log(e);
console.error(e);
}
};

Expand Down
6 changes: 3 additions & 3 deletions src/settings/plugin-settings.control.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const apiTokenSetting = (
plugin: MapboxPlugin,
) => {
new Setting(containerEl)
.setName("Mapbox API Token")
.setName("Mapbox API token")
.setDesc("Please provide your mapbox API token")
.addText((text) =>
text
Expand All @@ -24,7 +24,7 @@ export const markerSizeSetting = (
plugin: MapboxPlugin,
) => {
new Setting(containerEl)
.setName("Marker Size")
.setName("Marker size")
.setDesc("size of the marker on the map")
.addDropdown((text) =>
text
Expand All @@ -44,7 +44,7 @@ export const markerColorSetting = (
plugin: MapboxPlugin,
) => {
new Setting(containerEl)
.setName("Marker Color")
.setName("Marker color")
.setDesc("Color of the marker on the map")
.addColorPicker((text) =>
text
Expand Down

0 comments on commit f9a7a9f

Please sign in to comment.