17 lines
497 B
HTML
17 lines
497 B
HTML
---
|
|
layout: example.html
|
|
title: d3 integration example
|
|
shortdesc: Example of using ol3 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 ol3 image layer.</p>
|
|
tags: "d3"
|
|
resources:
|
|
- http://d3js.org/d3.v3.min.js
|
|
- http://d3js.org/topojson.v1.min.js
|
|
---
|
|
<div class="row-fluid">
|
|
<div class="span12">
|
|
<div id="map" class="map"></div>
|
|
</div>
|
|
</div>
|