Skip to content

Instantly share code, notes, and snippets.

@dopeboy
Last active August 29, 2015 14:13
Show Gist options
  • Save dopeboy/627be7c5e55862f5fa0b to your computer and use it in GitHub Desktop.
Save dopeboy/627be7c5e55862f5fa0b to your computer and use it in GitHub Desktop.
#Introduction
You are going to create a heatmap to represent 311 call data from Brooklyn. You will use the Google Maps API and an internally provided API to accomplish this.
Preparation
Download the sample code from here. git clone?
create a sample key here.
then read the documentation
Requirements
1) The site shall show all complaint data when no filter is applied. This is the default case and should occur when the page first loads.
2) The user shall be able to filter by complaint type by using a dropdown menu.
Starter guide
1) Wireframe the map page. Where do you plan to put the menu? What happens when the user clicks on the menu?
2) http://jsonformatter.curiousconcept.com/
2) Open heatmap.js and start going through the tasks.
BONUS
Put a text box and a search button on your page. When the user clicks the button, the system should take what's in the text box and search by complaint descriptor. Think about case insensitivity.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment