Code Monkey home page Code Monkey logo

dev-scratch's Introduction

DeckGL Example

App - polygons (Vancouver property lines)

https://deck.gl/examples/geojson-layer-polygons https://github.com/visgl/deck.gl/tree/8.9-release/examples/website/geojson

Download assets: https://github.com/visgl/deck.gl-data/blob/master/examples/geojson/vancouver-blocks.json

Note: dont even have to load the data into assets. Can pull it directly through URL.

App1 - paths (US highway accidents)

https://deck.gl/examples/geojson-layer-paths https://github.com/visgl/deck.gl/tree/8.9-release/examples/website/highway https://developers.google.com/maps/documentation/javascript/examples/deckgl-points

App2 - countours (US covid cases)

https://deck.gl/examples/contour-layer https://github.com/visgl/deck.gl/tree/8.9-release/examples/website/contour

App3 - arcs (county-to-county migrations)

https://deck.gl/examples/arc-layer https://github.com/visgl/deck.gl/tree/8.9-release/examples/website/arc

App4 - heatmap (uber pickup locations)

https://deck.gl/examples/heatmap-layer https://github.com/visgl/deck.gl/tree/8.9-release/examples/website/heatmap

App5 - hexagon layers (uk road safety)

https://deck.gl/examples/hexagon-layer https://github.com/visgl/deck.gl/tree/8.9-release/examples/website/3d-heatmap

App6 - icon layer (meteorites landings)

https://deck.gl/examples/icon-layer

Uses supercluster: https://github.com/mapbox/supercluster Mapbox project under ISC license.

Note: issues providing proper typings on the custom layer subclass.

App7 - scatterplot layer (every person in new york city)

https://deck.gl/examples/scatterplot-layer https://github.com/visgl/deck.gl/tree/8.9-release/examples/website/scatterplot

App8 - screen grid layer (uber pickup locations)

https://deck.gl/examples/screen-grid-layer https://github.com/visgl/deck.gl/tree/8.9-release/examples/website/screen-grid

App9 - scene graph (opensky network flights)

https://deck.gl/examples/scenegraph-layer https://github.com/visgl/deck.gl/tree/8.9-release/examples/website/scenegraph

Using a custom json loader. Note: failing to display data properly. Was working, but then ran out of API credits (prior to manual file loading).

App10 - terrain layer

https://deck.gl/examples/terrain-layer https://github.com/visgl/deck.gl/tree/8.9-release/examples/website/terrain

NOTE: include the mapbox access token in the .env file VITE_MAPBOX_ACESS_TOKEN=""

App11 - text layer

https://deck.gl/examples/text-layer https://github.com/visgl/deck.gl/tree/8.9-release/examples/website/text

Need to properly type the collision extension.

App12 - tile layer

https://deck.gl/examples/tile-layer https://github.com/visgl/deck.gl/tree/8.9-release/examples/website/map-tile

App13 - 3d tile layer

https://deck.gl/examples/tile-3d-layer https://github.com/visgl/deck.gl/tree/8.9-release/examples/website/3d-tiles

NOTE: need Cesium token, https://ion.cesium.com/ VITE_ION_ASSET_ID="" VITE_ION_TOKEN=""

App14 - trips layer

https://deck.gl/examples/trips-layer https://github.com/visgl/deck.gl/tree/8.9-release/examples/website/trips

dev-scratch's People

Contributors

ipavlovski avatar

Watchers

 avatar

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.