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

It is possible that Heatmap doesn't work? #216

Open
dsanchezq opened this issue Jun 2, 2023 · 2 comments
Open

It is possible that Heatmap doesn't work? #216

dsanchezq opened this issue Jun 2, 2023 · 2 comments

Comments

@dsanchezq
Copy link

Hi Crazycapivara,

I have a recent problem that doesn't happen a few months ago: the add_heatmap_layer function seems not to work. I can see the basemap but not the heatmap layer. I even try to do it with the example I found on your site, with sf_bike_parking data, and the same thing happens: I see the base map but not the heatmap.

Do you know how I can solve it?

Thank you very much

@jvandens
Copy link

jvandens commented Sep 5, 2023

I am having the same issue
nevermind, this seems to work:

deckgl() %>%
  add_basemap() |> 
  add_layer("HeatmapLayer", 
            id = 'heat',
            data = sf_bike_parking,
            getPosition = ~lng + lat,
            getWeight = ~spaces) 

@dsanchezq
Copy link
Author

Thank you so much!!! Its working again

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