15 lines
499 B
HTML
15 lines
499 B
HTML
---
|
|
template: "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>
|