Files
openlayers/examples
Tim Schaub 14b7edb140 Keep the examples simple
Please write blog posts, create tutorials, or develop workshops that show off cool ways to develop applications that use OL3.  The examples should be kept very simple.  This download functionality is neat, but it's really a gratuitous use of non-map related functionality.  While it does demonstrate the use of `format.writeFeatures()`, this is buried in too much additional code that is not accessible (buried in resources/common.js) and not really related to mapping things.  If we want to have examples that demonstrate how formats can be used to serialize features, a simple textarea would suffice as the target.
2015-04-17 09:55:44 -06:00
..
2015-04-17 06:22:38 -06:00
2015-04-17 09:55:44 -06:00
2015-04-17 06:22:38 -06:00
2015-04-17 06:22:38 -06:00
2015-04-17 06:22:38 -06:00
2015-04-17 06:22:38 -06:00
2015-04-17 06:22:38 -06:00
2015-04-17 06:22:38 -06:00
2015-04-17 06:22:38 -06:00
2015-04-17 09:55:44 -06:00
2015-04-17 09:55:44 -06:00
2015-04-17 06:22:38 -06:00
2015-04-17 06:22:38 -06:00
2015-04-17 06:22:38 -06:00
2015-04-17 06:22:39 -06:00
2015-04-17 06:22:38 -06:00
2015-04-17 06:22:38 -06:00
2015-04-17 09:55:44 -06:00
2015-04-17 09:55:44 -06:00
2015-04-17 06:22:38 -06:00
2015-04-17 06:22:38 -06:00
2015-04-17 06:22:38 -06:00
2015-04-17 06:22:38 -06:00
2015-04-17 06:22:38 -06:00
2015-04-17 06:22:38 -06:00
2015-04-17 06:22:38 -06:00
2015-04-17 06:22:38 -06:00
2015-04-17 06:22:38 -06:00
2015-04-17 06:22:38 -06:00
2015-04-17 06:22:38 -06:00
2015-04-17 06:22:38 -06:00
2015-04-17 06:22:38 -06:00

Code examples

The .html files in this folder are built by applying the templates in the config/examples/ folder. Examples have YAML front-matter headers with the following properties:

  • template: The template from the config/examples/ directory to use for this example
  • title: The title of the example
  • shortdesc: A short description for the example index
  • docs: Documentation of the example. Can be markdown.
  • tags: Tags for the example index
  • resources: Additional js or css resources required by the example. This is a YAML list of URLs.