Files
openlayers/examples
jahow f7b0f6750b Resolve memory leak when deleting a webgl layer
Various references were kept, preventing the layer and underlying
renderer and webgl context to be garbage collected.

Also, the Helper was simplified because it turns out deleting manually
all Webgl objects is useless: these objects will be released when
the context is garbage collected anyway.

Note: this touches the Layer and BaseLayer classes, as the following were
preventing the layer from being garbage collected:
* layer reference in the `state_` object in BaseLayer
* dangling listener for source change in Layer
2019-11-04 09:31:38 +01:00
..
2019-09-26 20:08:50 +02:00
2015-11-18 09:56:16 -07:00
2015-11-18 09:56:15 -07:00
2016-03-30 11:45:20 -07:00
2017-09-07 09:16:03 +02:00
2019-05-27 11:34:33 +02:00
2018-03-29 08:35:09 +02:00
2018-05-07 15:33:14 -06:00
2015-11-18 09:56:15 -07:00
2018-11-16 10:47:07 +01:00
2019-05-17 14:27:20 +02:00
2018-04-23 20:51:01 -06:00
2015-11-18 09:56:15 -07:00
2015-11-18 09:56:15 -07:00
2015-12-07 13:53:37 +01:00
2015-11-18 09:56:15 -07:00
2019-05-17 15:41:03 +02:00
2018-04-23 20:51:01 -06:00
2019-09-26 20:37:40 +02:00
2017-01-19 20:50:07 +07:00
2015-11-18 09:56:15 -07:00
2015-11-18 09:56:15 -07:00
2018-04-23 20:51:01 -06:00
2016-12-30 12:51:32 +01:00
2019-06-14 12:53:52 +02:00
2016-04-13 09:25:37 +02:00
2019-06-14 12:53:52 +02:00
2018-04-23 20:51:01 -06:00
2018-12-07 10:55:26 +01:00
2019-05-09 18:00:18 +02:00
2018-10-10 15:11:07 +02:00
2017-12-12 06:53:18 -07:00
2018-05-07 15:33:14 -06:00
2015-11-18 09:56:15 -07:00
2018-04-23 20:51:01 -06:00
2015-11-18 09:56:15 -07:00
2015-11-18 09:56:15 -07:00
2015-11-18 09:56:15 -07:00
2019-09-26 20:37:40 +02:00
2019-02-27 18:31:50 +01:00
2017-12-20 23:48:34 -07:00
2015-11-18 09:56:15 -07:00
2015-11-18 09:56:15 -07:00
2015-11-18 09:56:15 -07:00
2017-01-02 23:03:03 +01:00
2015-11-18 09:56:15 -07:00
2015-11-18 09:56:15 -07:00
2015-08-21 11:28:08 +02:00
2019-06-21 14:33:26 +02:00
2019-06-21 14:33:26 +02:00
2018-04-23 20:51:01 -06:00
2015-07-21 17:12:06 -06:00
2018-05-07 15:33:14 -06:00
2015-08-03 21:33:46 -06:00
2015-11-18 09:56:15 -07:00
2019-05-13 14:16:18 +02:00
2019-08-08 22:48:08 +01:00
2019-08-08 22:40:37 +01:00
2019-07-26 16:31:20 +01:00
2015-11-18 09:56:16 -07:00
2015-11-18 09:56:15 -07:00
2015-11-18 09:56:15 -07:00
2015-11-18 09:56:15 -07:00
2015-11-18 09:56:15 -07:00
2019-06-14 12:53:52 +02:00
2017-04-19 14:43:38 +02:00
2017-01-02 23:03:03 +01:00
2019-06-14 12:53:52 +02:00
2019-02-27 18:31:50 +01:00
2015-12-11 10:14:02 +01:00
2018-04-23 20:51:01 -06:00
2018-04-23 20:51:01 -06:00
2015-11-18 09:56:15 -07:00
2015-11-18 09:56:15 -07:00
2015-11-18 09:56:16 -07:00
2015-11-18 09:56:15 -07:00
2017-04-24 08:58:19 +02:00
2015-11-18 09:56:15 -07:00
2015-11-18 09:56:15 -07:00
2018-05-07 15:33:14 -06:00
2018-04-23 20:51:01 -06:00
2015-11-18 09:56:15 -07:00
2018-12-07 10:55:26 +01:00

Code examples

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

  • layout: The template from the templates 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.
  • experimental: if true, a warning will appear on the example page mentioning the fact that it uses features not part of the API.