Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悶 Custom svg icons for markers not functioning like default icons #419

Open
3 of 7 tasks
Eldresh opened this issue Aug 30, 2023 · 0 comments
Open
3 of 7 tasks

Comments

@Eldresh
Copy link

Eldresh commented Aug 30, 2023

Check for existing bug reports before submitting.

  • I searched for existing Bug Reports and found no similar reports.

Expected Behavior

Custom uploaded svg icons should behave the same way icons included by default do, especially when the uploaded svg is also a FontAwesome icon, just not one of the ones included in the plugin.

Current behaviour

Currently, when someone uploads a custom image to use for a marker (displayed here with the SVG tree-city from FontAwesome, which is not included in Leaflet's version of FontAwesome) the ability to layer it on top of the base icon or to override the default icon color vanishes.

Additionally, when uploading an SVG file, it only seems to display part of the SVG and not the entire thing.

image

image

Reproduction

  1. Launch Obsidian (confirmed this reproduces in sandbox mode as well)
  2. Install Obsidian Leaflet
  3. Open the options menu
  4. Navigate to Obsidian Leaflet's options
  5. Open the dialogue to add an additional map marker
  6. Upload an SVG (example linked under "current behavior")

Which Operating Systems are you using?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Obsidian Version Check

1.3.7

Plugin Version

5.7.3

Confirmation

  • I have disabled all other plugins and the issue still persists.

Possible solution

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant