Should load slightly faster now by adding the source only after all features are available, this avoids dispatching the addfeature event for each of the 80000 features. Use webgl tile layer for the background so the canvas can be shared between both layers.
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
templatesdirectory 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.