UW-Macrostrat / map-components

React components for vector maps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

map-components

React components for vector maps. A thin wrapper around d3.js. This library is similar in structure to React Simple Maps but with a enhanced canvas and granular projection support.

This repository has been archived. It is now part of Macrostrat's web components monorepo.

Installation

npm install @macrostrat/map-components

Include stylesheets into your app from @macrostrat/map-components/dist/esm/index.css.

Changelog

Summer 2019

  • Code created as part of corelle project

December 2019

  • Initial vendorization of library for use in column renderer widget

April 2020

  • Complete move towards typescript
  • Update bundler strategy

[0.2.0] August 2020

  • Improve typings
  • Fix bug with projection clipping and Sphere geometry.

[0.2.1]

  • Add better state handling and ability to reset projection.

About

React components for vector maps

License:MIT License


Languages

Language:TypeScript 95.1%Language:JavaScript 3.8%Language:Stylus 1.1%