mastering_openlayers3
mastering_openlayers3 copied to clipboard
Code base for the book Mastering OpenLayers 3
Code base for the book Mastering OpenLayers 3.
Written by: Gábor Farkas

Mastering OpenLayers 3 Code Base by Gábor Farkas is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Contents:
-
/chaptersHTML, CSS, and JavaScript code for the examples provided by the book. There is one .html, one .css, and one .js file for each full example. There are also partial examples, which should be linked to the appropriate full example before using. -
/jsOpenLayers 3, and other compressed third party libraries needed for the examples. -
/resVarious resources (mainly vector files, and thumbnail images for custom controls) used in the book. -
/srcOpenLayers 3 source files needed to build custom libraries. -
/README.mdThis readme file. -
/proxy.pyProxy file for overriding CORS restrictions. Copy it in your web server'scgi-binfolder. Note: this proxy does not contain any security restrictions. Be sure, no one can exploit it, use it for testing purposes only, and use it on your own risk. Adapted from: https://trac.osgeo.org/openlayers/browser/trunk/openlayers/examples/proxy.cgi.
Errata:
- On page 54, it is said, strategies affect the rendering process. Contrary, strategies affect the download process of WFSs, or other REST API based layers. They alter the extent with which the loader function is called. Thus, setting a strategy only has effect, when it is used with the default loader function (
ol.featureloader.loadFeaturesXhr).