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

Integrating with google maps #166

Closed
ismaildkc opened this issue Jan 6, 2023 · 1 comment
Closed

Integrating with google maps #166

ismaildkc opened this issue Jan 6, 2023 · 1 comment

Comments

@ismaildkc
Copy link

Is there a way to use this library with google maps?

@nrabinowitz
Copy link
Collaborator

The h3-js library is agnostic to mapping libraries you might use. In general, the easiest way to render H3 cells is to use cellToBoundary (h3ToGeoBoundary in v3) to get each cell as a polygon, then encode this as GeoJSON or a similar standard format and load that in your map (which could be a web map like Leaflet or MapboxGL, or an application like QGIS, or some other rendering library).

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