OpenLayers support for the NumpyTiles specification.
After cloning the repository, run build, and use npm link
. Example below:
$ npm install
$ npm run build
$ cd dist/
$ npm link
$ cd [to your project]
$ npm link @planet/ol-numpytiles
OpenLayers now supports DataTile Sources. The NumpyLoader can be used in conjunction with that in order to create full bitdepth raster layers.
import NumpyLoader from "@planet/ol-numpytiles"
Please only publish the dist/
directory.
$ npm publish ./dist/
Live demo is available from OpenLayers!
The demo can be run locally using npm start
.