O'Reilly logo

OpenLayers Cookbook by Antonio Santiago Perez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 familiarized with these technologies.

To run the recipes you need to place the code bundle within a HTTP server that serves the pages. All library dependencies required by the recipes code, such as OpenLayers or Dojo toolkit (http://dojotoolkit.org), are included in the bundle itself.

Some recipes request data from PHP scripts included in the source bundle. The function of these scripts is to generate some random data to later integrate within the map. To run these recipes properly the reader needs a HTTP server with PHP support.

Solutions such as XAMPP (http://www.apachefriends.org/en/xampp.html ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required