What you need for this book
The fact that OpenLayers is a JavaScript library, which must be integrated within HTML pages, implies that the user must be familiar with these technologies.
To successfully view all the recipes in this book in action, you need to have Node.js (https://nodejs.org) installed on your machine, as we use an HTTP server written in Node.js. Please follow the README.md
instructions inside the bundle for more details, where you'll be instructed to install the required Node.js packages (these are listed in the package.json
file).
Once you've installed these dependencies and initiated the server, you can access a chapter topic from any browser at http://localhost:3000/ch03/ch03-gml-layer
.
All library dependencies required by the code of various recipes, such as OpenLayers or jQuery, are included in the bundle itself.