mapbox / mapboxgl-jupyter

Use Mapbox GL JS to visualize data in a Python Jupyter notebook
MIT License
661 stars 136 forks source link

Custom choropleth border opacity - missing hover-over #159

Closed vgoklani closed 5 years ago

vgoklani commented 5 years ago

Hey there - I noticed that when changing the Choropleth to this:

 viz = ChoroplethViz('precincts.geojson', 
                     access_token=token,
                     color_stops=[],
                     line_stroke='-',
                     line_color='white',
                     line_width=1,
                     opacity=0,
                     line_opacity=1,
                     center=(-82.9988, 39.9612),
                     zoom=9.5,
                     style='mapbox://styles/mapbox/dark-v9?optimize=true',
                     height='900px')
 viz.show()

that the hover-overs disappeared! I would still like a way to show the data contained in the GeoJSON via the hoverovers, is that possible? I just don't need to add any coloring :) Thanks!