An experiment in using stackGL in a [react-map-gl]( overlay.
Last updated 5 years ago by vicapow .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install react-map-gl-stack-gl-overlay-example 
SYNC missed versions from official npm registry.


An experiment in using stackGL in a react-map-gl overlay.

See a live demo on gh-pages

This demo uses data from


    render: function render() {
      return <MapGL ...viewportProps>
          locations={locations} />

See example/main.js for a full example

Passing Tile Coordinates to GPU

This has evolved into a larger experiment in passing projected tile coordinates directly to the GPU as a performance optimization. It represents each tile coordinate as a double using two float values and uses the double-float functions from Andrew Thall's Extended-Precision Floating-Point Numbers for GPU Computation.

See also:

  1. Improving precision in your vertex transform
  2. Double Precision in OpenGL and WebGL
  3. Heavy computing with GLSL – Part 2: Emulated double precision

To install

npm install

To run

npm run start

This will start a budo server running on localhost:9966.

Current Tags

  • 0.3.0                                ...           latest (5 years ago)

3 Versions

  • 0.3.0                                ...           5 years ago
  • 0.2.1                                ...           5 years ago
  • 0.1.0                                ...           5 years ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 3
Dependencies (9)
Dev Dependencies (10)
Dependents (0)

Copyright 2014 - 2017 © |