Update examples to d3.js v4

This commit is contained in:
Frederic Junod
2017-12-07 11:58:16 +01:00
parent 1a2052b2b4
commit 99a5c2d7cb
4 changed files with 10 additions and 11 deletions

View File

@@ -6,7 +6,7 @@ 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>
tags: "d3"
resources:
- https://d3js.org/d3.v3.min.js
- https://d3js.org/topojson.v1.min.js
- https://unpkg.com/d3@4.12.0/build/d3.js
- https://unpkg.com/topojson@3.0.2/dist/topojson.js
---
<div id="map" class="map"></div>