GithubHelp home page GithubHelp logo

revolt's Introduction

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

revolt's People

Contributors

awoodruff avatar bcsheesley avatar davidheyman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

revolt's Issues

Map bounds

When you zoom all the way out, it is really easy to lose the island. Maybe put some map bounds on there? And a max Zoom?

Question marks in descriptions

There are question marks in the sidebar description for October, 1760 (and elsewhere). Is this a bug or something in the original?

Phone CSS

As far as I can tell, the map itself and all the components work alright on an Android phone. The CSS to handle the phone size needs to be redone (or done in the first place) though.

The sidebar will also have to be redesigned. Or popup on command somehow?

iPad - doesn't really show where each location is

On the desktop, the map zooms out, pauses and then zooms back in to the new location. iPad doesn't do this - maybe because it is more demanding than the iPad can handle?

Sometimes the iPad can handle it, sometimes not. Might have to do with caching the tiles.

June 28, 1760 geolocation

The second item on June 28th looks like it was geocoded to the actual Mesopotamia. Screws up the map a bit.

No space between text and citation

Should there be a space (or dash or something) between the text in the sidebar and it's citation? What about a different style of text for the citation?

Map only pans to account for point

E.g. May through June, 1760 (4th point in May).

Map doesn't account for popup as well as the point.

Also has trouble fitting bounds correctly sometimes. E.g. (June 20, 1760 doesn't show the first point in the original bounds). This may be because the point is under the timeline, but still "on" the map.

Occasional no top label

Occasionally there is simply no top label for an event. (E.g. January, 1761 - 2nd item). Is this OK or should they all have at least something?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.