Skip to content
Jamaican Slave Revolt
PHP JavaScript CSS
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css Basemap legend Jul 17, 2013
data Lots of location fixes, and updated make_revolt and SQL dump Jun 20, 2013
designs Playback buttons May 5, 2013
images Basemap legend Jul 17, 2013
js More timing fixes Jul 17, 2013
json Another path; revert speed changes because they make things go crazy. Jul 15, 2013
lib
media/images Moved images May 6, 2013
tiles Color-fast placenames tiles May 31, 2013
tools Added compressor and Makefile May 5, 2013
website Added google analytics Jun 19, 2014
.gitignore Somehow I messed up Git May 29, 2013
Makefile Somehow I messed up Git May 29, 2013
README.md Updated README.md Aug 26, 2013
index.html Added google analytics Jun 19, 2014

README.md

Jamaican Slave Revolt

This animated thematic map narrates the spatial history of the greatest slave insurrection in the eighteenth century British Empire. It was a collaboration between Axis Maps and Vincent Brown at Harvard University.

Data

The data was collected in a spreadsheet which was loaded into MySQL and converted to JSON using make_revolt.php.

revolt.json contains all the attribute and spatial data used in the map. The animated marker paths are defined by LOC as an array of lat / lon arrays.

Code

The map is built on Leaflet. The animation is handled by AnimatedLine.js which is based on Leaflet.AnimatedMarker. Like AnimatedMarker, AnimatedLine breaks an input PolyLine into small segments, then over a specified interval "grows" the PolyLine by including each of those segments in sequence.

Installation

make install
You can’t perform that action at this time.