This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
openlayers with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
#OpenLayers 3 for node.js.
Thanks to all giants I stand on.
Checkout the git submodule. Run
build.sh to build the package.
run-test.s to run a simple test. Make sure to install jsdom via
npm link to make the package available fo node. In your node project use
npm link openlayers to install it local. Use
require("openlayers").OpenLayers in your code.