diff --git a/examples/d3.html b/examples/d3.html new file mode 100644 index 0000000000..efba7dc343 --- /dev/null +++ b/examples/d3.html @@ -0,0 +1,59 @@ + + +
+ + + + + + + +Example of using ol3 and d3 together.
+The example loads TopoJSON geometries and uses d3 (d3.geo.path) to render these geometries to a canvas element that is then used as the image of an ol3 image layer.
See the d3.js source to see how this is done.
+Example of an image vector layer.
+This example uses a ol.source.ImageVector source. That source gets vector features from the
+ ol.source.Vector it's configured with and draw these features to an HTML5 canvas element that
+ is then used as the image of an image layer.
See the image-vector-layer.js source to see how this is done.
+