-
-
-
-
-
-
-
+---
+template: "example.html"
+title: "Draw and modify features example"
+shortdesc: "Example of using the ol.interaction.Draw interaction together with the ol.interaction.Modify interaction."
+docs: >
+ Example of using the ol.interaction.Draw interaction together with the ol.interaction.Modify interaction.
+tags: "draw, edit, modify, vector, featureoverlay"
+---
+
-
-
-
-
-
-
-
+---
+template: "example.html"
+title: "Draw features example"
+shortdesc: "Example of using the ol.interaction.Draw interaction."
+docs: >
+ Example of using the ol.interaction.Draw interaction.
+tags: "draw, edit, vector"
+---
+
Demonstrates the use of style geometries to render source features of a cluster.
-
-
- This example parses a KML file and renders the features as clusters on a vector layer. The styling in this example is quite involved. Single earthquake locations (rendered as stars) have a size relative to their magnitude. Clusters have an opacity relative to the number of features in the cluster, and a size that represents the extent of the features that make up the cluster. When clicking or hovering on a cluster, the individual features that make up the cluster will be shown.
-
-
To achieve this, we make heavy use of style functions and ol.style.Style#geometry. See the earthquake-clusters.js source to see how this is done.
-
-
KML, vector, style, geometry, cluster
-
-
-
-
-
-
-
-
-
-
-
-
+---
+template: "example.html"
+title: "Earthquake Clusters"
+shortdesc: "Demonstrates the use of style geometries to render source features of a cluster."
+docs: >
+
This example parses a KML file and renders the features as clusters on a vector layer. The styling in this example is quite involved. Single earthquake locations
+ (rendered as stars) have a size relative to their magnitude. Clusters have an opacity relative to the number of features in the cluster, and a size that represents
+ the extent of the features that make up the cluster. When clicking or hovering on a cluster, the individual features that make up the cluster will be shown.
+
To achieve this, we make heavy use of style functions and ol.style.Style#geometry.