-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Bug] Rendering freezes after first interaction #7590
Comments
I'm not familiar with pydeck, but it would help if you can check the browser's JavaScript console for any errors. |
Hi, yes -sorry- I should have provided these earlier. It seems |
Hi, I have successfully run your example with pydeck 0.8.0 and Jupyter notebook 6.4.10. The only difference is that I used the default basemap instead the Mapbox one. Please, check this section in the documentation to verify that pydeck extension is properly enabled. Regarding the ordering of the features for the tooltips, I realized that it depends on the order in the dataframe, so with this line you can make it work: gdf = gdf.sort_values(by=['bucket'], ascending=False) This is an example showing both values in the tooltip: d = pdk.Deck(
[isochrone_boundaries],
initial_view_state=viewport,
tooltip={
'html': '<b>Unnamed: 0</b> {Unnamed: 0}<br><b>bucket</b> {bucket}',
'style': {
'color': 'white'
}
}) |
Hi @dcarrot, |
Closing for inactivity |
Description
Setting a custom tooltip makes the interaction freeze
Flavors
Expected Behavior
Map interaction
Steps to Reproduce
Here are the isochrones from graphhoper
sample.csv
Here is the layer
Viewport
And deck
d.to_html('iso.html')
Running like so, with
pickable=True
, displays the bucket data -although it doesn't seem to pick on the different buckets either; but turning on the tooltip freezes the map.Environment
CPU: 12 × Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Logs
No response
The text was updated successfully, but these errors were encountered: