13 lines
438 B
HTML
13 lines
438 B
HTML
---
|
|
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>
|
|
tags: "d3"
|
|
resources:
|
|
- https://d3js.org/d3.v3.min.js
|
|
- https://d3js.org/topojson.v1.min.js
|
|
---
|
|
<div id="map" class="map"></div>
|