Use ol/layer/Layer instead of ol/source/ImageCanvas in d3 example

This commit is contained in:
Frederic Junod
2018-11-14 19:26:49 +01:00
parent 00cf75c837
commit 178061ab9d
2 changed files with 67 additions and 59 deletions

View File

@@ -3,7 +3,7 @@ layout: example.html
title: d3 Integration
shortdesc: Example of using OpenLayers and d3 together.
docs: >
<p>The example loads TopoJSON geometries and uses d3 (<code>d3.geo.path</code>) to render these geometries to a canvas element that is then used as the image of an OpenLayers image layer.</p>
The example loads TopoJSON geometries and uses d3 (<code>d3.geo.path</code>) to render these geometries to a SVG element.
tags: "d3"
resources:
- https://unpkg.com/d3@4.12.0/build/d3.js