The55 Usmap Save

SVG US map, with plottable lat,lng. made with Raphael.js

Project README

I recommend using d3

When this project was made, d3.js was young and unproven and had no good story for doing maps. That has changed so much. These days, if you want to do data with a US map, consider using d3. Perhaps via...

Javascript/SVG plottable US Map

Requirements:

To get something like demo page use:

var yourIntendedMapWidth = 600;
var container = 'dom-id-of-your-container-div';

var paper = new ScaleRaphael(container, 950, 650);
var map = paper.USMap();
paper.scaleAll(yourIntendedMapWidth/map.width);

map.plot(38.646908,-90.205994, "St. Louis, MO");
map.darkenState('MO', 0.07);

Credits

Open Source Agenda is not affiliated with "The55 Usmap" Project. README Source: the55/usmap
Stars
29
Open Issues
0
Last Commit
8 years ago
Repository

Open Source Agenda Badge

Open Source Agenda Rating