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

Already on GitHub? Sign in to your account

Feature Request: Add plotly event listeners to Mapbox layers #1966

Closed
radumas opened this issue Aug 22, 2017 · 1 comment
Closed

Feature Request: Add plotly event listeners to Mapbox layers #1966

radumas opened this issue Aug 22, 2017 · 1 comment

Comments

@radumas
Copy link

radumas commented Aug 22, 2017

I didn't realize this before but it seems there are two ways to add a layer to a mapbox map:

  1. Scattermapbox(lat=lats, lon=lons, etc.) (ref)
  2. layout(mapbox=(layers={source='data.geojson', sourcetype='geojson') (ref)

Since the first option doesn't play well with Geojson (or lines), could plotly click, hover, select events be fired for layers created by the second option?

My motivation for this is to be able to create layers (in python) from geojson or vector tile source, but be able to attach plotly interactivity to the geometries.

@etpinard
Copy link
Contributor

etpinard commented Jul 3, 2019

Essentially done by adding choroplethmapbox in #3988

Please, let us know if you missed something.

@etpinard etpinard closed this as completed Jul 3, 2019
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