@planet/layers
React components for OpenLayers.
setup
Dependencies are managed with yarn
.
yarn
To work with the docs during development:
yarn start
Docs are build with yarn build:docs
and hosted here: https://apps.pages.earth.planet.com/layers/
To publish package changes to another local project, use the yarn local-pub
script. This will start a file watcher, rebuild the package on src
changes, and copy the result to the node_modules
directory of another project. For example:
yarn local-pub -- ../other-project
Note that this requires that the target project has all of this project's dependencies installed.