rveciana - geomercatorecuador-example

geoMercatorEcuador example

Open raw page in new tab

This file shows how to use the geoMercatorEcuador projection from d3-composite-projections.

To change the file, edit draw.js and run

browserify draw.js| uglifyjs > bundle.js

The dependencies are installed with:

npm install d3-composite-projections d3-geo d3-request d3-selection d3-transition topojson

<!DOCTYPE html>
<meta charset="utf-8">

  <div id="map"></div>

  <script src="bundle.js"></script>