jheer / vega-projection-extended

Extended projections for cartographic mapping.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NOTE: This package has been consolidated into the vega/vega repository, where future development and issues will be handled. This repository has been archived and is now read-only.

vega-projection-extended

Extended projections for cartographic mapping.

This module extends Vega's set of cartographic projections with those provided by the d3-geo-projection library. See the index.js file for the complete list of imported projections.

Usage Instructions

To use this module in a web application, include the appropriate compiled JavaScript file as a script import on a web page. The library produces two output files:

  1. vega-projections.js contains all extended projections plus required methods from the d3-array and d3-geo libraries.
  2. vega-projections-core.js contains the extended projections only and expects a stand-alone version of D3 to have already been imported.

If you are using the standard vega.js or vega.min.js builds, include the following after Vega has been imported:

  <script src="vega-projections.js"></script>

If you are using a standalone version of D3 (for example, alongside vega-core.js or vega-core.min.js), you can use the smaller file instead:

  <script src="vega-projections-core.js"></script>

About

Extended projections for cartographic mapping.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:JavaScript 100.0%