Skip to content

add custom symbols for scattermapbox #2954

Closed

Description

@zach-morris

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.

Activity

  1. self-assigned this
    on Jun 24, 2024
  2. removed their assignment
    on Aug 2, 2024
  3. changed the title [-]Custom Symbols for scattermapbox[/-] [+]add custom symbols for scattermapbox[/+] on Aug 12, 2024
  4. gvwilson commented on Aug 12, 2024

    @gvwilson
    Contributor

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

  5. archmoj commented on Aug 12, 2024

    @archmoj
    Contributor

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

  6. birkskyum commented on Aug 12, 2024

    @birkskyum

    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.

  7. emilykl commented on Aug 31, 2026

    @emilykl
    Contributor

    Maki icons should work as expected in plotly.py v7.0.0. See this comment for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3backlogfeaturesomething new

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions