Files
openlayers/examples/templates
2020-10-03 21:31:38 +02:00
..
2017-12-12 06:55:17 -07:00
2020-02-18 21:32:31 +01:00

This folder contains example templates. These templates are used to build the examples in the examples/ folder. The resulting examples are written to the build/examples folder.

The examples are transpiled to es5. If the name of an example starts with es2015-, transpilation will be bypassed. This allows for showing es2015+ features in examples.

At the bottom of each example generated in the build/examples folder, a modified version of its source code is shown. That modified version can be run standalone and is usually used as starting point for users to extend examples into their own application.