Skip to content

stuartathompson/northline

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

    _/     _/                      _/    _/        _/  _/                       
   _/_/   _/    _/_/_/  _/ _/_/ _/_/_/  _/_/_/    _/      _/_/_/      _/_/    
  _/  _/ _/   _/    _/  _/       _/    _/   _/   _/  _/  _/    _/  _/_/_/_/   
 _/   _/_/   _/    _/  _/       _/    _/   _/   _/  _/  _/    _/  _/          
_/     _/    _/_/_/   _/       _/    _/   _/   _/  _/  _/    _/    _/_/_/     

Northline is a JavaScript library that creates SVG maps of Canada's provinces and territories from GeoJSON. It's a small modification of the U.S. version, Stateline, by ProPublica. It comes with Landline, also by ProPublica.

Forked from Landline and Stateline by ProPublica

Documentation for Landline: http://propublica.github.io/landline Issues or questions about Landline and Stateline: https://github.com/propublica/landline/issues

Alterations from Landline

Northline uses the same basic structure as Stateline with some alterations.

  • You can simply swap in your data as a JSON array called mapData. Be sure to specify the province or territory.
  • Tooltips are styled as white-on-black, semi-transparent boxes

Issues or questions about Northline: @stuartathompson

To come

This is the initial commit of a working version. Bugs could exist. Many alterations to come.

About

Simple SVG maps that work everywhere.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.3%
  • Ruby 2.7%