Skip to content

add custom symbols for scattermapbox #2954

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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
zach-morris opened this issue Dec 4, 2020 · 3 comments
Open

add custom symbols for scattermapbox #2954

zach-morris opened this issue Dec 4, 2020 · 3 comments
Labels
feature something new P3 backlog

Comments

@zach-morris
Copy link

This is a request to add functionality for custom markers / symbols in the scattermapbox library.

As it is, the documentation currently says that there are available custom markers available from Maki Icons.

In practice, these icons don't appear to work at all if any theming is present in your application. See here.

The request is to update functionality to allow use of custom marker symbols via svg, similar to Leaflets implementation. This will remove the issue of using the above icons since an SVG could directly be called.

@gvwilson gvwilson self-assigned this Jun 24, 2024
@gvwilson gvwilson removed their assignment Aug 2, 2024
@gvwilson gvwilson added the P3 backlog label Aug 12, 2024
@gvwilson gvwilson changed the title Custom Symbols for scattermapbox add custom symbols for scattermapbox Aug 12, 2024
@gvwilson gvwilson added the feature something new label Aug 12, 2024
@gvwilson
Copy link
Contributor

@archmoj is this something that your recent work will address or is it still a new feature?

@archmoj
Copy link
Contributor

archmoj commented Aug 12, 2024

One may be able to add these to scattermap not scattermapbox in future.
cc: @birkskyum What do you think of this?

@birkskyum
Copy link

birkskyum commented Aug 12, 2024

I think there's a good chance that #1804 is resolved for the map- traces, because of the way we explicit load maki icons if they're missing instead of relying on the style to list them as a resource to be loaded like the mapbox- traces

This might to relieve some of the need for custom icons, since it's mentioned as the premise behind this ticket.

MapLibre has a way to use a custom icon for a marker ( https://maplibre.org/maplibre-gl-js/docs/examples/custom-marker-icons/ ), it just doesn't have a plotly api around it.

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

No branches or pull requests

4 participants