Use ol/layer/Layer instead of ol/source/ImageCanvas in d3 example
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user