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

H3 layer not rendering #3070

Closed
3 tasks done
thomasgwatson opened this issue May 7, 2019 · 2 comments
Closed
3 tasks done

H3 layer not rendering #3070

thomasgwatson opened this issue May 7, 2019 · 2 comments
Labels

Comments

@thomasgwatson
Copy link

Hey folks,

A little puzzled why hexagons aren't showing up in my project.

The react-map-gl map is showing up fine. Not getting any errors in the console.

The layer appears to be forming correctly, and in the correct resolution (level 8)
Screen Shot 2019-05-06 at 21 01 58

I have clipped the data to a smaller sample but I've scanned several cities where the hexs should be and seen nothing...

The relevant code:
https://gist.github.com/thomasgwatson/392dad23b8d56a00e78445d14de30714
My debug checklist:

  • Check react-map component/viewport
  • Check h3Layer component
  • Check MapPage component

Hoping there is something obvious I've missed!

@Pessimistress
Copy link
Collaborator

This is an example of your data working: https://codepen.io/Pessimistress/pen/vwLMdv

Not sure if it's relevant, but your default viewport is no where near where your data is.

@thomasgwatson
Copy link
Author

Thanks for checking that out and confirming the data renders!

It's a little obscure but I pass the bay area coords in via the Map Props, so the default viewport isn't coming to play. The data is street art/graffiti, so was expected a decent chunk in the bay.

I'll try rendering the deck.gl view without the map and see if I can at least get that working

@tgorkin tgorkin closed this as completed Sep 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants