Skip to content

f-o-a-m/purescript-deck-gl

Repository files navigation

purescript-deck-gl

Build Status

FOAM spatial-index

This is a purescript-react wrapper around Uber's deck.gl library -- a react library for creating data visualizations on top of map-gl. Each vizualization (e.g. icon plotting, screen grid, etc.) is attached as a "layer". Each individual layer has its own configuration options, and there are some configurations that are common among all layers. It is also easy to hook in your own handlers that respond to dom events eminating from the layers.

There is an example project demonstrating the basic features of icon layer. You can build it yourself or view the hosted version here.

You can see the full gallery of examples here

installation

> npm i
> npm run build

Example

You can see some examples in example directory. It is also hosted here

npm requirements

  • react >= 16.0.0
  • deck.gl >= 5.1.1"

acknowledgements

ben did a lot of the work setting up the configuration layers before he went on to make astral charts at costar