Closed
Description
I didn't realize this before but it seems there are two ways to add a layer to a mapbox map:
Scattermapbox(lat=lats, lon=lons, etc.)
(ref)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.
Metadata
Metadata
Assignees
Labels
No labels