Moves Data

Screen Shot 2017-02-13 at 2.49.56 PM

This week, I mapped my own data from the Moves app. After trying and failing at creating animation with Leaflet.Polyline.SnakeAnim, I decided instead to take up the challenge of creating toggled displays based on time filters. I first attempted to change the display using removeLayer() based on states being true or false, but it only worked when I bound the layer displays to click functions:

Screen Shot 2017-02-13 at 2.56.52 PM

The code is a bit clunky, but hey, it works. See evidence here.

Leave a Reply

Your email address will not be published. Required fields are marked *