Skip to content

mapbox marker symbol not working #2813

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

Closed
bcdunbar opened this issue Jul 13, 2018 · 2 comments
Closed

mapbox marker symbol not working #2813

bcdunbar opened this issue Jul 13, 2018 · 2 comments

Comments

@bcdunbar
Copy link

marker symbols in scattermapbox either don't show up or don't color correctly. For example, 'star' is visible but is always black; square isn't visible.

https://codepen.io/bcd/pen/EpVaxQ?editors=1010

I see there a few issue concerning symbols specific to IE or Edge. This isn't browser-specific.

@etpinard
Copy link
Contributor

Scattermapbox doesn't share the same marker symbol list as our other scatter* trace type

marker: {
symbol: {
valType: 'string',
dflt: 'circle',
role: 'style',
arrayOk: true,
description: [
'Sets the marker symbol.',
'Full list: https://www.mapbox.com/maki-icons/',
'Note that the array `marker.color` and `marker.size`',
'are only available for *circle* symbols.'
].join(' ')
},

The list in https://www.mapbox.com/maki-icons/ seems to change fairly frequently, and yes some markers can't be shown in color, but there's not much we can do about it.

@etpinard
Copy link
Contributor

merging with #815

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

2 participants