GithubHelp home page GithubHelp logo

Demo about h3-js HOT 3 CLOSED

uber avatar uber commented on July 19, 2024
Demo

from h3-js.

Comments (3)

nrabinowitz avatar nrabinowitz commented on July 19, 2024 1

Please see the tutorials here for example Javascript implementations using Mapbox and H3: https://observablehq.com/collection/@nrabinowitz/h3-tutorial

I hope that helps!

from h3-js.

roiDaniela avatar roiDaniela commented on July 19, 2024

Hello @nrabinowitz
Please forgive me if this isn't the right place to ask, but I am trying to add h3 hexagon layer to mapxbox using pure JS/Jquery code but haven't found a complete example. The hexagon's color is determined by the checkin inside it at the time of the last update

from h3-js.

nrabinowitz avatar nrabinowitz commented on July 19, 2024

Hello @nrabinowitz Please forgive me if this isn't the right place to ask, but I am trying to add h3 hexagon layer to mapxbox using pure JS/Jquery code but haven't found a complete example. The hexagon's color is determined by the checkin inside it at the time of the last update

Does this example work for you? https://observablehq.com/@nrabinowitz/h3-mapbox-style-heat-map

The approach here is to transform the H3 cells and data into GeoJSON, then render. This uses random data, but of course you can set the value according to some dataset. If you run into issues here, I'd encourage you to ask on StackOverflow with the h3 tag.

from h3-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.